jcornaz / heron

[DISCONTINUED] An ergonomic physics API for bevy games
MIT License
292 stars 44 forks source link

How to ignore Gravity with Dynamic RigidBody? #292

Closed TarekAS closed 2 years ago

TarekAS commented 2 years ago

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 a RigidBody::Dynamic instead. However, that enables gravity on the object obviously.

I tried:

I haven't tried:

Any advice?