Author Topic: Zone bricks?  (Read 700 times)

Hey guys I have a couple of questions.  I am trying to make a racetrack but I need the onvehicletouch event.  Although from my searching, I have found out that the event is glitchy and I have to use zone bricks.  The only problem is that I really don't know what zone bricks are.  Its probably been in front of my face the whole time, but I still don't really understand what they are.  Can someone explain what zone bricks are to me? 

A zone can recognize your state of being in it, as well as when you enter and exit the brick, of course all collision and rendering and ray casting is preset to be off to allow you to freely move about the zone.

For instance, if i was to say on the zone brick  Onvehicleenterzone>vehicle>setvelocity [] [] [10]
The vehicle would be launched into the air when you drove it into the zone brick. Then say, onvehicleleavezone>vehicle>setvelocity [] [] [-10] when the vehicle was launched out of the zone, it would be pushed back down by the onvehicleleavezone event.

(btw you need the zone events to go with this)

Any questions?

A zone can recognize your state of being in it, as well as when you enter and exit the brick, of course all collision and rendering and ray casting is preset to be off to allow you to freely move about the zone.

For instance, if i was to say on the zone brick  Onvehicleenterzone>vehicle>setvelocity [] [] [10]
The vehicle would be launched into the air when you drove it into the zone brick. Then say, onvehicleleavezone>vehicle>setvelocity [] [] [-10] when the vehicle was launched out of the zone, it would be pushed back down by the onvehicleleavezone event.

(btw you need the zone events to go with this)

Any questions?
So is a zone just a random brick? such as if a lay down a 32X32 block and turn of raycasting, collision, and rendering.  Then name it.  It would be a zone?

Or do I need special zone bricks for that?

there's a special zone brick pack on RTB, but you can also manually define the zones.



the second one is a bad idea.

Zone bricks will let bricks float in "midair".