Alice Community  

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

Thread Tools Display Modes
Help with killing people
Posts: n/a
Default Help with killing people - 01-11-2010, 02:15 PM

How do i make a person disappear when a object hits them?
Reply With Quote
Super Moderator
x2495iiii's Avatar
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 01-11-2010, 11:44 PM

Not a good title for a post.

Use the distance function (if sphere isWithin .5 meters of badGuyRobot) to test to see if the bullet has come close enough to the object to be a collision, then use the if part of the if/else statement to make the object disappear (badGuyRobot set isShowing to false).

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 ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.