Page 1 of 1

MoveTo Sequencer command not working correctly on kinematic RigidBodies

Posted: Fri Oct 11, 2019 12:05 pm
by zsoi
I've had some issues getting the MoveTo command to work properly. In the end it seemed that RigidBody.MoveRotation() and RigidBody.MovePosition() doesn't do anything for kinematic rigid bodies and the transform has to be moved instead.

I fixed this locally by replacing the "

Code: Select all

if (subjectRigidbody != null)
" check with "

Code: Select all

if (subjectRigidbody != null && !subjectRigidbody.isKinematic)
" in

Code: Select all

TryHandleMoveToInternally()
.

DialogueSystem 2.2.0
Unity 2019.2.4f1

Re: MoveTo Sequencer command not working correctly on kinematic RigidBodies

Posted: Fri Oct 11, 2019 1:47 pm
by Tony Li
Good catch! I'll fix that in the next release.