Hi all, I try to make a classic platform with one way collision. Simply behavior, if actor stand on it - platfom is collide, if actor jump from below, he goes trough platform. For begin, I decided to check z-position of actor and platform, and if actor is above - I switch on platform collision. But it not work when a have more then one actor, because other pawns fall through platform to. How can I switch off collision for one current actor? Someone have ideas how to solve this problem?
Hi, why you use box collision for platform?
If it doesn’t matter, just use Plane with one side collision. But the casing of platform set to No Collision.
So, if you tried to Jump below platform, your character will not be seen any collision above, because it is one sided.
You can also hide Plane, Even invisible object will have a collision.
Not really understand how it can help with multiple actors.
No, I didn 't mention any action with other actors, as it 's just not necessary.
You can hide Plane so that you do not see the collision surface itself in the game, nor do you draw this object in the world.
Just try modifying your platform actor by changing the platform 's own collision to No Collision. Add Plane (custom), and move it to the surface of the platform.
But how it will work if on platform already stand one actor, and another jump from below?
Any polygon have one side collision. Your plane looks up, so collision will not work on any object below.
Just make your Plane in any 3d modeling software and import to the Scene.
In example, you can use meshes from above post
Oh, now I got it, I made a plane with custom one side collision and it really work. Thanx for help!)
