I need help to give the entity physics while moving, my current code only moves the entity, and does not give it physics. I am pretty new to the game engine.
add a rigid body component and a collision component… and instead of doing translate local you have to do this.entity.rigidbody.applyForce(x,y,z); or this.entity.rigidbody.applyImpulse(x,y,z);