Alice Community How do I stop a character from walking through objects

 How do I stop a character from walking through objects
 mtayborn Junior Member   Status: Offline Posts: 6 Join Date: Oct 2011 How do I stop a character from walking through objects - 10-23-2011, 11:55 PM How can I stop my character from walking through an object? If someone could answer this soon it would really be appreciated. I have to complete this assignment for the morning. I am figuring out a lot of this on my own, but some I do need help with. Thank you.
 Not sure on this
Gameboy
Junior Member

Status: Offline
Posts: 1
Join Date: Oct 2011
Not sure on this - 10-24-2011, 01:29 AM

Im still new to alice but the best I can tell you is to use the Distance to Function. I attached an example. A bunny moving toward a sign. The Bunny is set to move to the sign while the distance is greater than .5 meters. You do this by using Bunny Move forward. Then choose the functions tab for the bunny and click Bunny Distance to and drag over the distance in the code for Bunny move forward (Function here) then click the drop down arrow next to the Function and choose math distance to -(minus) and choose the distance to the object.

Don't know if this will help but let me know. Just replied because I've been in your situation and it sucks! Good luck.
Attached Files
 bunny stop.a2w (574.8 KB, 5 views)

 Thread Tools Display Modes Linear Mode

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     Community News and Announcements Alice 3     How Do I?     Works In Progress     Share Your World     Share Custom Classes     Bugs and Trouble Shooting     Suggestion Box Alice 2     How do I...?     Works-In-Progress     Share Worlds     Share Objects     Bugs and Troubleshooting     Suggestion Box Educators     Teaching with Alice     Teaching Using Alice 3     Teaching Using Alice 2     CS Principles and Alice     AP CSA and Intro to Java and Alice     Workshops General Discussion     Questions and Comments     The Lounge