Alice Community Physics in alice

 Physics in alice
 mystz Guest   Status: Posts: n/a Physics in alice - 11-16-2008, 10:23 PM I am trying to make a interactive game with ramps including one with loops or even curves. I was wondering if it's possible to give the items density or to make it so that if i had like a skateboard and the ramp went up the skateboard board will go up the ramp while on the ramp and not just fly.
DickBaldwin
Guest

Status:
Posts: n/a
11-17-2008, 10:34 AM

Quote:
 Originally Posted by mystz I am trying to make a interactive game with ramps including one with loops or even curves. I was wondering if it's possible to give the items density or to make it so that if i had like a skateboard and the ramp went up the skateboard board will go up the ramp while on the ramp and not just fly.
If you understand physics and understand programming, you should be able to simulate most Newtonian physics situations by making small incremental movements on objects and setting the start and stop of each movement to abrupt. However, you may have to slow everything down. Otherwise, Alice may not be able to keep up.

You might want to start by simulating the trajectory of a projectile in a vacuum since that is one of the easier problems and it has a well-defined solution. Then move on to problems involving springs and masses.

Dick Baldwin
Free Alice tutorials: http://www.dickbaldwin.com/tocalice.htm
Free Scratch tutorials: http://www.dickbaldwin.com/tocHomeSchool.htm
Free Java/C#, etc. tutorials: http://www.dickbaldwin.com/toc.htm

 mystz Guest   Status: Posts: n/a 11-17-2008, 05:01 PM Will any improvements in alice speed be added in 3.0 becuase in many my collosion checks alice can't check fast enough = ( EDit: Also how do i use any object in a method ? Also is it possible to see the code/ edit predefined methods ? Is it possible to make a method like move at speed towards ? is it possible to make a angle turn until it is a certain degrees ? Last edited by mystz; 11-17-2008 at 05:44 PM.
DrJim
Guest

Status:
Posts: n/a
11-22-2008, 07:40 AM

Quote:
 Originally Posted by mystz Will any improvements in alice speed be added in 3.0 becuase in many my collosion checks alice can't check fast enough = (
Make sure you don't leave the duration parameter at the default, which is one second, and the collision response should improve. The ultimate limit is probably going to be the screen refresh time, which I would guess is about 0.04 seconds (i.e., 24 fps refresh rate).

 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