Alice Community  

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

Thread Tools Display Modes
Junior Member
Status: Offline
Posts: 2
Join Date: Oct 2010
Location: Crofton
Default Collision - 11-20-2010, 02:13 PM

I made a game in an Alice world, but I'll tell you about that in a later post.
Right now, I'm trying to figure out how to prevent the character from going through trees or off the pier at a given point.
I have set squares and I am trying to make it so that the camera cannot go within a set distance of the squares. Can anyone help me?
Attached Files
File Type: a2w Dark Adventure 1.a2w (3.09 MB, 13 views)
Reply With Quote
Posts: n/a
Default 12-21-2010, 09:03 AM

if "object" distance to "side 1" <= 1 (or whatever distance you want)
"object" move forward 1 meter asSeenByTree

then just do that for each side
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.