Topic: Creating a Ceiling?

So I have created an indoor stage for a fighting game.  The problem is that players do not seem to have any ceiling colliders, (or any sort of collision with any wall) 

What's the best way to make it so players can't fly out of the scene when they get kicked up past the ceiling?

Every stage has a left boundary and a right boundary.  How can I add a ceiling boundary?

Share

Thumbs up Thumbs down

Re: Creating a Ceiling?

The left and right boundary are controlled by the camera.
The floor is controlled by the physics script using a mesh collider i believe.

Most creators just build around the training mode stage with the training stage removed, leaving only the mesh collider floor.

If you wanted to add a ceiling you'd have to do some sort of check in the Physics script recognizing the "ceiling" and preventing a character from going past it.

Share

Thumbs up Thumbs down

3 (edited by Fighterman 2017-12-11 08:51:39)

Re: Creating a Ceiling?

I basically just duplicated the floor, raised the duplicate up, and boom instant ceiling.. Done.  It was super easy.

Share

Thumbs up +2 Thumbs down

Re: Creating a Ceiling?

Glad it turned out to be that easy.

Share

Thumbs up Thumbs down