Can't detect collisions events without Dynamic RigidBody #724
Replies: 1 comment
-
|
Alright something I probably couldn't understand by myself is that I needed a rigidbody to be attached to my collider so the event can be emitted. Attaching a KinematicPositionBased did the trick. Maybe this wasn't very clear in the documentation ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi !
So basically, I'm creating a game engine (in TypeScript) based on Rapier and rapier.js.
I created a collision system based on advanced collision detection, which works great but only with colliders that are attached to a dynamic rigidbody, and I don't know why 😭
From what I've understand of Rapier, the collisions should work between any collider what so ever.
Basically, my scene is :
So I get collisions between the character and the cube, but not between the character and the ground. 😕
Beta Was this translation helpful? Give feedback.
All reactions