david.warford Posted May 5, 2020 Share Posted May 5, 2020 (edited) In my game I need something that moves through the world and can collide with static surfaces but does not simulate physics and is move manually through code. other game engines refer to this as a kinematic collider. This is normally done to create player controllers which need to have their physics implemented manually. C++ examples would be much appreciated. Edited May 5, 2020 by david.warford Link to comment
karpych11 Posted May 5, 2020 Share Posted May 5, 2020 Hello, You can try using for this BodyDummy. This body is unmoving and non-interacting. In the attached example material ball moves under the influence of gravity and resolve collisions. In the editor you need to add the body and shape to the material ball. AppWorldLogic.cpp AppWorldLogic.h 1 Link to comment
david.warford Posted May 5, 2020 Author Share Posted May 5, 2020 Wow thank you this works perfectly! although I still don't get a callback this does suit my needs. Link to comment
Recommended Posts