5 registered members (AndrewAMD, alibaba, Konsti, 2 invisible),
1,418
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Physics Ball Ready to use in WED
#15737
05/25/03 21:28
05/25/03 21:28
|
Anonymous
OP
Unregistered
|
Anonymous
OP
Unregistered
|
I am having trouble scripting my own physics so could someone write it for me and put in a lvl displaying it..thank you or in german danke!
|
|
|
Re: Physics Ball Ready to use in WED
#15739
06/01/03 21:43
06/01/03 21:43
|
Anonymous
OP
Unregistered
|
Anonymous
OP
Unregistered
|
e-mail to me at Master_Yodax38@msn.com
|
|
|
Re: Physics Ball Ready to use in WED
#15740
06/02/03 02:33
06/02/03 02:33
|
Joined: Jun 2002
Posts: 473
Juff
Senior Member
|
Senior Member
Joined: Jun 2002
Posts: 473
|
|
|
|
Re: Physics Ball Ready to use in WED
#15742
06/02/03 08:19
06/02/03 08:19
|
Anonymous
OP
Unregistered
|
Anonymous
OP
Unregistered
|
then can you put it a compressed folder? thank you for helping!
|
|
|
Re: Physics Ball Ready to use in WED
#15744
06/02/03 22:00
06/02/03 22:00
|
Anonymous
OP
Unregistered
|
Anonymous
OP
Unregistered
|
Maybe you could post on your web site to be able to be downloaded or take some stuff i dont really need like a model or something?
|
|
|
Re: Physics Ball Ready to use in WED
#15745
07/30/03 10:10
07/30/03 10:10
|
Joined: Mar 2001
Posts: 3,298 Beverly, Massachusetts
Rhuarc
Expert
|
Expert
Joined: Mar 2001
Posts: 3,298
Beverly, Massachusetts
|
I've been picking what I can up of physics code so I know as much about it as I can when I get my A6 Comm upgrade- so I happened to glance here... You can go to www.planetacknex.com and go into the downloads section, then "add download" and you can upload it to the planetacknex server for others to download. I'd be happy to study the code as well. -Rhuarc
|
|
|
Re: Physics Ball Ready to use in WED
#15746
08/06/03 08:41
08/06/03 08:41
|
Joined: Mar 2001
Posts: 3,298 Beverly, Massachusetts
Rhuarc
Expert
|
Expert
Joined: Mar 2001
Posts: 3,298
Beverly, Massachusetts
|
Well, I've been studying up on how to do physics coding, and I think I've got some that will work right (untested). code:
var earthgravity[3] = 0,0, -386; //... add this at the bottom of your main function: // ph_setgravity( earthgravity ); // ph_selectgroup(1);
// place this below your main function action ball { phent_settype(my, PH_RIGID, PH_SPHERE ); phent_setmass(my, 10, ph_sphere); phent_setgroup(my, 1); phent_setelasticity(my, 75, 0); phent_setfriction (my, 12); phent_enable(my, 1); }
After adding this to your main wdl file, go into WED and add a sphere model and assign the ball action to it. You might wanna place the ball off the ground a ways (if I works like I think it does) so that it will drop to the ground when the level loads and bounce (I think!). I can't test the code (as I have A5pro), but I think it will work properly.
-Rhuarc
(*braces for error reports*)
|
|
|
|