Alice Community  

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

Reply
 
Thread Tools Display Modes
Collision question
Old
maverick99
Junior Member
 
Status: Offline
Posts: 2
Join Date: Mar 2012
Default Collision question - 03-14-2012, 06:49 PM

I know it's not preprogrammed in and there's a bunch of issues with creating successful collisions. I've got mine working with <obj> is within <threshold> and it works fine, except that it can only check from the center of the object. I've been trying to use default objects that come with the program to save time, since I'm doing this project as an introductory independent study and I don't really have time to be making my own objects.

Has anyone found a way to check collisions from all points of an object or to check in any manner other than the circular method? The best I can come up with is lots of dummy objects checking with the threshold method, but it's still far from easy, perfect or quick.

Thanks for any insight!
   
Reply With Quote
Old
sfunk
Senior Member
 
sfunk's Avatar
 
Status: Offline
Posts: 1,112
Join Date: Mar 2011
Location: I don't know
Default 03-15-2012, 06:56 AM

Well check out this example world I made, it's pretty simple to recreate.
Attached Files
File Type: a2w collide.a2w (541.9 KB, 40 views)


If you are stuck on a project, check out the tutorials I made here at this link:

http://alice.org/community/showthread.php?p=36778#post36778

There are lots of tutorials on it so far, including some youtube videos, check it out

Or..

Go to my youtube channel to check out my alice 2.2 tutorials I have there..

http://www.youtube.com/user/sfunk1992?feature=mhsn
   
Reply With Quote
Old
maverick99
Junior Member
 
Status: Offline
Posts: 2
Join Date: Mar 2012
Default 03-15-2012, 09:04 AM

It doesn't seem to work. You can still move through the walls quite easily, in any direction. When turning it moves you when you shouldn't move at all and backing into things still allows you to move through them without any problem. Using dummy objects was actually working better, even if it does take forever to get set up. Thanks for the reply though.
   
Reply With Quote
Old
sfunk
Senior Member
 
sfunk's Avatar
 
Status: Offline
Posts: 1,112
Join Date: Mar 2011
Location: I don't know
Default 03-15-2012, 11:09 AM

Not to offend. but you just have to alter the code to not go through the objects. and there is a way to make it have collision while backwards,but with the code I figured you would be able to figure it out. And the only reason you could move through the cube two and box is that I had the speed and distance in which the object mould move back which is also pretty much a check of time as well


If you are stuck on a project, check out the tutorials I made here at this link:

http://alice.org/community/showthread.php?p=36778#post36778

There are lots of tutorials on it so far, including some youtube videos, check it out

Or..

Go to my youtube channel to check out my alice 2.2 tutorials I have there..

http://www.youtube.com/user/sfunk1992?feature=mhsn
   
Reply With Quote
Reply

Tags
collisions, independent study


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