![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | MikeMikeMike |
Hi…,
my RigidBall with the CollisionShape SphereShape(Radius 0.5) reports often an impossible contact Vector3(0,0,0) on floor objects:
contact = state.get_contact_collider_position( n )
Physics Engine is DEFAULT.
Is this a bug? What to do?
Thanks
Mike
I’ve investigated more, and found:
for n in state.get_contact_count():
doesn’t report not always a contact, even when the RigidBall is definitely on the floor.
Hm?
MikeMikeMike | 2021-08-06 14:12
Hi again,
When my ball rolls from one platform to the next with no platform gap, than the ball looses contact for some frames.
I think I have to do more contact checks after get_contact_collider_position()
, perhaps with a RayCast. This seams to become complicated.
I am thankful for all tips to improve this.
Thanks
MikeMikeMike | 2021-08-08 16:28