I'm making a flying camera that needs to have collision on and not be affected by gravity. Since the RigidBody::KinematicPositionBased does not collide, I'm using a RigidBody::Dynamic instead. However, that enables gravity on the object obviously.
I tried:
Setting density to 0.0 (causing expected crash on collision as it needs to be > 0)
Setting density to 0.0000000001 (changes nothing, worth a try)
Finding a way to set mass to 0
Finding a way to make KinematicPositionBased collide.
I haven't tried:
Using a different physics layer with 0 gravity for this object only.
Hi,
I'm making a flying camera that needs to have collision on and not be affected by gravity. Since the
RigidBody::KinematicPositionBased
does not collide, I'm using aRigidBody::Dynamic
instead. However, that enables gravity on the object obviously.I tried:
KinematicPositionBased
collide.I haven't tried:
Any advice?