I’ve noticed that, but I haven’t been able to find exactly what’s causing it. Removing the root bone entity of the anim component solves this problem, but then the entity stops rotating in the right direction for some reason.
I see you use lookAt()
on an entity with a dynamic rigidbody and that is not possible unfortunately. You need to find a workaround for this. Maybe the topic and example project below can help you with it.
https://playcanvas.com/project/808772/overview/look-at-with-physics