Alice Community  

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

Reply
 
Thread Tools Display Modes
Help with cylinder maze
Old
Albreit
Guest
 
Status:
Posts: n/a
Default Help with cylinder maze - 05-03-2012, 11:02 AM

I am having trouble getting the cylinder to die when hit by a cube. I tried using a set pose in a if/else. if you are within .01meters. But it doesnt seem to pick it up. Even when i tried telling it to make the cylinder move 10 meters up when within .01m it didnt work. I was wondering if anyone could tell me if i had something wrong with code or if im doing something wrong.
Attached Files
File Type: a2w MyMazeGame.a2w (586.2 KB, 14 views)
   
Reply With Quote
bump
Old
Albreit
Guest
 
Status:
Posts: n/a
Default bump - 05-07-2012, 10:28 AM

Bump
If anyone would be able to help that would be awesome. This is my Final project and and really need the help.
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 05-07-2012, 11:48 AM

It looks like your distance isn't enough to make it recognize the collision - collision is determined from the center of an object, so you need within object's width to make it work

Also, your pose is messed up. Just have it set the position manually.


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ

Last edited by TauTrumpsPi; 05-07-2012 at 11:57 AM.
   
Reply With Quote
Reply

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