Pawn Script Player stairs

Topics regarding Scripting with Reality Factory
Post Reply
User avatar
Vertex
Posts: 108
Joined: Fri May 22, 2015 1:01 am
Location: Colombia
Contact:

Pawn Script Player stairs

Post by Vertex »

As I do for a Pawn walk up stairs ?. It is a pawn makes player .

Image
http://www.iris3dgames.com Reality Factory Spanish :wink:
User avatar
Vertex
Posts: 108
Joined: Fri May 22, 2015 1:01 am
Location: Colombia
Contact:

Re: Pawn Script Player stairs

Post by Vertex »

Some help for the Pawn ?, take the stairs is a script player .

Image
http://www.iris3dgames.com Reality Factory Spanish :wink:
User avatar
Vertex
Posts: 108
Joined: Fri May 22, 2015 1:01 am
Location: Colombia
Contact:

Re: Pawn Script Player stairs

Post by Vertex »

Ok , I've solved . :)
Image
http://www.iris3dgames.com Reality Factory Spanish :wink:
Veleran
Posts: 895
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Re: Pawn Script Player stairs

Post by Veleran »

If you add two script points for each stairs,one at the bottom and one at the top,the player can check if he is near the stairs and move from bottom scriptpoint to top of the stairs scriptpoint.
Just a quick thought.
If it is not about pathfinding,and you just want to navigate by collision you can set the stepheight of the pawn to be equal or greater than the height of the steps.
Post Reply