Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Works-In-Progress (http://www.alice.org/community/forumdisplay.php?f=14)
-   -   Collision detection engine (http://www.alice.org/community/showthread.php?t=3994)

zonedabone 02-28-2010 12:21 PM

That isn't exactly on topic, but I'll try working on it, too! It'd help to lower the strain on alice's texture drawing!

arty-fishL 02-28-2010 03:27 PM

This is very good
 
This is very good.

It runs very smoothly.

Ive only had one problem once, where it suddenly jumped through the wall, but as you say, more cylinders to block up the gap.

I will probably use this in one of my worlds and credit you.

It works with cylinders, but how are you going to make it work with objects that dont have a constant radius all the way round.
If you used the same engine then it would move around a cube (or any other shape) in a circle, which would look wierd, wouldn't matter though, the great collision is what makes it brilliant.

Good work, 6 star quality.

jediaction 02-28-2010 05:02 PM

Where is for all objects in list

Niteshifter 02-28-2010 05:10 PM

[QUOTE=jediaction;17766]Where is for all objects in list[/QUOTE]

At the bottom beside the while loop.

jediaction 02-28-2010 05:32 PM

How do i put it in?

jediaction 02-28-2010 05:39 PM

I need another way to increase frame rate. What are others, cant think of one

Niteshifter 02-28-2010 07:49 PM

You need to create a list, whether it be in an object or the world and when you drop the "For all in order/together", you would choose the list that you created.

As for the frame rate, I don't think that you can adjust this at the moment, but if you just want to speed the world up, you would set the world's speed multiplier (under seldom used properties inside world) to a higher number.

Dameria 02-28-2010 07:59 PM

Yeah, he was talking about the frame rate, not the speed of the world. The only way to decrease the frame rate is to use less objects and avoid using infinite loops (or while events because those are the same thing).

zonedabone 02-28-2010 08:18 PM

If you have an empty while loop that you're using to wait for something, simply add a wait method in there. Put something like 1/4 second in there, and then it will only be evaluated every 1/4 second. This is great for things that don't exactly need to be rapid, like in my collision program.

zonedabone 02-28-2010 08:28 PM

About irregular objects, any object can be made from multiple cylinders. Make several cylinders, and move them to be around the border. Hope this helps!:D


All times are GMT -5. The time now is 04:57 PM.

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