Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, dr_panther, 2 invisible), 1,056 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Starter to physics #30360
07/12/04 20:51
07/12/04 20:51
Joined: Mar 2004
Posts: 217
UK (Peterborough)
KyiasShadow Offline OP
Member
KyiasShadow  Offline OP
Member

Joined: Mar 2004
Posts: 217
UK (Peterborough)
ok i dont have a clue abotu the physics engine, i ahve the commercial version never used it before because im new. it says i can only use 1 object in the physics engine, dont no what this is meant to mean, i woudl like to add gravity to some of my objects in my game, like the player. i am not using template scripts as i like to be origional. this is a dumb question but it had to be asked,

Thanks

Re: Starter to physics [Re: KyiasShadow] #30361
07/13/04 01:35
07/13/04 01:35
Joined: Jul 2004
Posts: 8
G
Garok Offline
Newbie
Garok  Offline
Newbie
G

Joined: Jul 2004
Posts: 8
Okay you can only have physics affect one object at a time. Meaning you cannot have gravity affect more than one entity, you could use the old a5 methods though and just have certain entities use the physics engine. Do you need help adding the gravity part too?

Re: Starter to physics [Re: ] #30363
07/18/04 19:33
07/18/04 19:33
Joined: Mar 2004
Posts: 217
UK (Peterborough)
KyiasShadow Offline OP
Member
KyiasShadow  Offline OP
Member

Joined: Mar 2004
Posts: 217
UK (Peterborough)
Ok what do you mean onyl having one at a time. lik eif i create a world only one object in that world will be able to have physics effects?

Re: Starter to physics [Re: KyiasShadow] #30364
07/19/04 09:16
07/19/04 09:16
Joined: Jan 2003
Posts: 748
California
BHoltzman Offline
Developer
BHoltzman  Offline
Developer

Joined: Jan 2003
Posts: 748
California
You almost have the idea. Here's an example that might help make the idea concrete for you. You have a universe with three balls in it we'll call them ball a, ball b and ball c. Then if ball a is an active physics entity ball b and ball c cannot be active physics entities because ball a is currently an active physics entity. But sometime in your program you can turn ball a into a non physics entity then ball b and ball c can be physics entities. But only one at a time.

If you make ball b an active physics entity then ball a and ball c cannot be active physics entities until ball b is no longer an active physics entity.

This same pattern is true for ball c being an active physics entity.

So this means that one entity at a time can be an active physics entity, it doesn't matter how many physics entities you have in your program, you can only make one active at any one time.

Get it?

Also, gravity will only effect one object at a time. It doesn't matter how many objects are in your level. Only one object at a time will have gravity effect it.

Last edited by BHoltzman; 07/19/04 09:21.

I'm not Mr Franklin but I am Benjamin. My avatar partly suites me.
Re: Starter to physics [Re: BHoltzman] #30365
07/19/04 23:42
07/19/04 23:42
Joined: Mar 2004
Posts: 217
UK (Peterborough)
KyiasShadow Offline OP
Member
KyiasShadow  Offline OP
Member

Joined: Mar 2004
Posts: 217
UK (Peterborough)
OK That REALLY sucks, lol

I get it now. so i could have 100 objects that have physics to them but only one can be using teh engine at any given time.

Thanks for the help.


A6 Commercial V6.3 1024MB DDR RAM P4 2.8GHz 256MB GeForce FX 5600 160GB HDD
Re: Starter to physics [Re: KyiasShadow] #30366
07/20/04 03:21
07/20/04 03:21
Joined: Jan 2003
Posts: 748
California
BHoltzman Offline
Developer
BHoltzman  Offline
Developer

Joined: Jan 2003
Posts: 748
California
Just use the Newton physics plugin. It pretty darn good. You'll be able to do all the physics you probably want or need.

And if you don't know about Newton Physics take a look at it from the downloads section. It's a free plugin.


I'm not Mr Franklin but I am Benjamin. My avatar partly suites me.

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1