Getting velocity in only one plane (X) in Kismet (UDK)

Posted by anna1987 on Game Development See other posts from Game Development or by anna1987
Published on 2012-10-04T11:23:25Z Indexed on 2012/10/04 15:53 UTC
Read the original article Hit count: 164

Filed under:

I'm trying to make a character in 2.5 platformer (in UDK) to "climb" a giant tree trunk by walking on a spiral staircase enveloped around the tree. When character goes right the tree rotates thru matinee sequence so it seems that the character is moving while in reality it is the tree that moves.

I connected the matinee sequence playrate to the velocity of the character and its all good as long the character just moves left or right. When it jumps though, the velocity still affects the playrate - it should not as character moves up/down, not right/left.

How do I set it up in Kismet so I get a float variable with velocity only in the X plane (horizontal)?

© Game Development or respective owner

Related posts about udk