Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Share Worlds (http://www.alice.org/community/forumdisplay.php?f=6)
-   -   collision detection (http://www.alice.org/community/showthread.php?t=3806)

jediaction 01-25-2010 10:35 AM

Can i use this for my games?

Hey everybody, check out my album

x2495iiii 01-25-2010 10:53 AM

I bet he'd like that, but remember, you'd need a different equation for each object.

dannyxowns 01-27-2010 03:52 PM

I tried downloading the world, but it would only download as an MPEG MP3 file. how do i fix this or download it so i can open it with alice?

Veryuhbull 01-27-2010 05:24 PM

2 Attachment(s)
Well i'll throw in my latest Collision Decection attempt i made recently. More concept demonstration than working model.

You press space to move to the top of the cube when you are close enough. This is a very rough step up lacking animations and needs debugging/editting. My main problem is that i can't figure out a way for my passive commands to be stopped in mid-run to execute an active command. Red cube can be climbed and drop off of. Blue can climb and has nothing to pull you back down. EDIT: I added some animations.

And presummably i could distribute the grid as a method instead of placing the markers all manually.

Zack Strife 01-27-2010 08:49 PM

1 Attachment(s)
Ok, A, yes jed, you can use this. and 2, I found the problem I think, you had the program run the two checks separately at the same time, what I did was put one in the other so that way It won't cause any errors try it out

Veryuhbull 01-27-2010 09:11 PM

1 Attachment(s)
Oh i see what I did wrong. Zack i went back and cleared out the code and fixed the reverse method also. Now there are 5 cylinders (wanted to see if the code can handle it) and it worked fine. I put the world speed multiplyer back to regular because it doesn't need to be lowered. Although if the camera goes too fast there is potential for a slip through the detection.

Anyone have any input on my other world?

jediaction 01-28-2010 08:59 AM

Well anyway, this collision is great

Zack Strife 02-06-2010 08:24 PM

1 Attachment(s)
Here I edited my collision detection, I added an endless wall and am working on a partial wall

jediaction 02-11-2010 03:35 PM

Well, yah, i cant use this because i would have to make a code for each object and side so...i still can but not with like big big games

Zack Strife 02-11-2010 03:42 PM

The endless wall would just be for if you didn't want your character to stay out of an area or something. And the partial wall I am still working on


All times are GMT -5. The time now is 02:54 PM.

Copyright ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.