Author Topic: Make a player move up to the next platform vertically?  (Read 793 times)

Is there any way to make this happen? I mean, ascend to the next highest point that they can stand? And for descending too, I'd like to know if this is possible, and if so, how to do it.


Teleportation events?
no.

I want to find the next available platform that you can stand on upwards or downwards and move to it.

Are you talking about AIPlayers?

Also, are you talking about platforms made of bricks. What do you mean by ascend, pushing? Making them walk, or jumping?

Are you talking about AIPlayers?

Also, are you talking about platforms made of bricks. What do you mean by ascend, pushing? Making them walk, or jumping?

Didn't I steal the idea to use Paintcans for teleporters a few years ago?

Are you talking about AIPlayers?

Also, are you talking about platforms made of bricks. What do you mean by ascend, pushing? Making them walk, or jumping?
That's not what I'm talking about at all.

Closest thing I could think of is to fire an upward raycast from the player's location, and then get the object that it hits. If the object is a brick, you can do stuff involving positions, vectorAdd, and the height of the brick as defined in the brick's datablock, but for things that don't have a height defined like a brick does, it could be trickier.

Closest thing I could think of is to fire an upward raycast from the player's location, and then get the object that it hits. If the object is a brick, you can do stuff involving positions, vectorAdd, and the height of the brick as defined in the brick's datablock, but for things that don't have a height defined like a brick does, it could be trickier.
Dang, I suck at vector stuff and raycasts.

Can you possibly give me an example?