Ghost Control Rotation

Hi,

Just a quick question on ghost control rotation and local translation.

Currently I have a spatial which I rotate and translate with setLocalTranslation/Rotation.

Having read some of the documentation and forum’s. I’m wondering if I should either be using the setPhysicsRotation method on the ghost control? (in addition to? Or instead of setLocalRotation?)

I’ve also read that the ghost control follows the spatial, so maybe it follows the local rotations too?

Thanks

@sabredog said: I've also read that the ghost control follows the spatial, so maybe it follows the local rotations too?

Yes it does. This also would have been easy to test? :stuck_out_tongue:

Thanks wezrule. It appeared to be fine when I set the debug view to show up. I was just curious because I found a forum post on here that mentions the debug view shows the rotation but the actual ghost is not rotated.