Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Thread Tools Display Modes
how do i detect if car is out of track?
Posts: n/a
Default how do i detect if car is out of track? - 05-20-2009, 08:46 PM

i am trying to make like this simple game where the car pretty much catches on fire when its out of the road
how do i do this?
i need like the code for the detection
like when the car is not on the road but in the grass or ground
it catches on fire
i have no idea how to write that code and if someone could help me =]
Reply With Quote
Senior Member
Status: Offline
Posts: 80
Join Date: Feb 2009
Location: Ohio
Default 05-20-2009, 10:18 PM

Try like

if car is 0.5 meters away from road
set fire
  Send a message via AIM to Scott300 Send a message via MSN to Scott300  
Reply With Quote
Senior Member
meeatpizza's Avatar
Status: Offline
Posts: 107
Join Date: Jan 2011
Location: 'Murica
Talking Cubes - 02-14-2011, 10:32 PM

Make cubes around your track and add a if car is within threshold of like 5 meters Of cubes do fire method and then make the cubes invisable

Current Alice Projects

WaVE fps engine
Inventory-------- NEED HELP WITH MY INVENTORY!!!!!!!!!-----------------------
GTA Alice

My Website

My Unity 3D Game
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright ©2021, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.