AWPKinematicCharacter is automatically moving down a slope, how to turn this off?

Software: Away3D 4.x

duckdoom5, Newbie
Posted: 24 September 2013 11:11 AM   Total Posts: 6

Hello, I need some help with this:

So I’ve created a character following this ‘‘tutorial” (code): http://www.jasonsturges.com/2012/10/away3d-physics-character-demo/

I’ve changed it a bit and it works, but the chracter is automatically moving down slopes (I understand this is part of physics, but I don’t want that to happen to a character). In the example on the website, the charcter doesn’t though.

I’ve imported the entire example code in a new project and used the latest awd and awd physics and it turned out that the charcter was indeed going down the slope.

I have no Idea what to change/what values to set in order to fix this problem.
Can someone give me a hand here ?


Thanks in advance,

Duckdoom5

   

duckdoom5, Newbie
Posted: 25 September 2013 10:25 AM   Total Posts: 6   [ # 1 ]

I’ve fixed it by setting:

character.ghostObject.activationState = 0;

When I don’t press any button.


Hope this helps someone.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X