I’m trying to make a racing game and have imported model from scetchfab, but collision looks right in editor and when I drive into fance collision reacts later. I tried to move car collision, but it doesn’t works.
Can someone help me?
Editor link: PlayCanvas | HTML5 Game Engine
Overview link: PlayCanvas | HTML5 Game Engine
P.S. Also when you drive car jumps. Why does it happens?
Hi @GAMEPIX!
The problem is likely caused by using functions like rotateLocal() and setLocalEulerAngles(). These cannot be used on an entity with a dynamic rigidbody, because they rotate only the entity, not the rigidbody itself.
without this it doesn’t works. And whats about jumps?
What do you mean?
I’m not sure, but it’s probably an expected effect caused by the car’s rigidbody touching the ground. I guess it’ll take a combination of settings to improve this.