Frank007 Posted June 30, 2022 Share Posted June 30, 2022 Hello, please tell me what to do if I encountered such a problem when, upon contact with a wall, it repels me from the wall? Physical body against the wall - Body dummy, ShapeBox. Новый проект.mp4 Link to comment
tarragrum Posted June 30, 2022 Share Posted June 30, 2022 Hello. How do you move the player? Use body's methods (addLinearImpulse, setPreserveTransform, etc) in updatePhysics instead object's setWorldTransform. Link to comment
Frank007 Posted July 8, 2022 Author Share Posted July 8, 2022 Hello, can you please clarify where I should change it preferably with photos so that I can understand all the way to updatePhysics. Link to comment
tarragrum Posted July 8, 2022 Share Posted July 8, 2022 Hello. How to use updatePhysics is shown there https://developer.unigine.com/en/docs/latest/start/quick_start/character/index?rlang=cpp. Can you describe how are you move player now? Link to comment
Recommended Posts