How to ignore the terrain movement?

Started by FelixYu, May 23, 2021, 07:25:06 PM


I want to make a new vehicle. The idea is to fly regardless of terrain. Which key parameters need to be changed?



It's not trivial. Technically, you can remove the physical collider, e.g. for hoverboard (in the base class for all hoverboards) we define physics this way
However, it will allow passing through any obstacles (including walls).
Making it pass only through terrain/cliffs is not possible as it will require a much more complex physical collider approach for the whole game (not only for the vehicle) and will cause other problems as well (e.g. when a player wants to dismount the vehicle in the middle of a cliff or over water).