Check the character rotation

Nils Söderman
Mon, 12 Jan 2015 14:47:41 +0000
Character & Animation

Hello!

So I’ve been trying to get this to work for a few hours now, and I can’t seem to get it right.
I made it possible to rotate this cow, but now I want to check the rotation of the cow. So if he lands and he’s rotated let’s say more than ±60 degrees I run the game over thing. There is a bunch of nodes for “Set Rotation” but none for “Get Rotation”.

So my question is: How can I check the rotation of this cow? (and get it as a variable to later check if it’s larger than 60)

Thanks!
//rymdnisse

6 posts - 1 participant