Alice Community How do I make a surface act solid?

 How do I make a surface act solid?
 Brickguy190 Junior Member     Status: Offline Posts: 3 Join Date: Sep 2011 How do I make a surface act solid? - 09-19-2011, 08:59 PM I am having trouble getting things like platforms to do their jobs in Alice. Is there some sort of function that can 'sense' whether another object is interfering with it's surfaces?
 GameKid Senior Member     Status: Offline Posts: 467 Join Date: May 2011 Location: My magnificent castle 09-19-2011, 09:52 PM It's very complicated to detect an actual collision between individual polygons, but a simple collision can be made from the functions menu. First, select an object, then, click on the tab called functions, and in that list, under proximity is an "Is within threshold" function. You can use that in if/else statements. [COLOR=e4eaf2]Your text here[/COLOR] Come on, you know you want to try it.
 Brickguy190 Junior Member     Status: Offline Posts: 3 Join Date: Sep 2011 09-20-2011, 06:55 AM Could you explain how to detect the collisions between polygons in Alice?
 GameKid Senior Member     Status: Offline Posts: 467 Join Date: May 2011 Location: My magnificent castle 09-20-2011, 01:12 PM Even I don't know that, but there are some collision engines you could use. I remember I made a thread for this, and tau posted an engine, but that thread is lost in time. Sorry... Edit: I just thought of something brilliant, but it may'nt work for objects like mazes and things. (In the movement method) If [[Object to move] is within [[Object to bump into]'s width] If: Do nothing. Else: (Insert movement here.) [COLOR=e4eaf2]Your text here[/COLOR] Come on, you know you want to try it. Last edited by GameKid; 09-25-2011 at 08:21 PM.

 Tags solid, surface

 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