Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by AndrewAMD. 12/05/23 10:56
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (3run, AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip), 605 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
local/global #41308
02/20/05 10:15
02/20/05 10:15
Joined: Jan 2005
Posts: 90
USA
N
Nathan Offline OP
Junior Member
Nathan  Offline OP
Junior Member
N

Joined: Jan 2005
Posts: 90
USA
If you only have one object like a car, but you set gravity and movement forces inside the cars function/action, would this count as two physics objects. or are you able to have one object, and apply as much physics to it as you want. and it only count as 1 physics object because they are both local/relative to that object.

say I set gravity outside my function/action (global), and then I set movement code inside my function/action (local), would this be two physics objects?

In other words if you apply physics locally, you can have more than one physical force, but it still counts as one object.

I'm asking because I've got commercial edition.

thanks,
Nathan

Re: local/global [Re: Nathan] #41309
02/20/05 10:20
02/20/05 10:20
Joined: Nov 2004
Posts: 55
Michigan
S
splashmaker Offline
Junior Member
splashmaker  Offline
Junior Member
S

Joined: Nov 2004
Posts: 55
Michigan
You can apply as many forces to 1 physics object as you want. However in order to make a complete car you would have to have 5 objects, 4 wheels and body.

Re: local/global [Re: splashmaker] #41310
02/20/05 10:30
02/20/05 10:30
Joined: Jan 2005
Posts: 90
USA
N
Nathan Offline OP
Junior Member
Nathan  Offline OP
Junior Member
N

Joined: Jan 2005
Posts: 90
USA
Thank's a lot splashmaker.

Re: local/global [Re: Nathan] #41311
02/23/05 07:08
02/23/05 07:08
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
The limitation for Commercial is "1 object", not "1 force". You can add as many forces and constraints to that object as you like.
It is possible to do a car with one object but that's not as easy or realistic. Imagine a sliding box and apply forces where the wheels would be located to make it move and turn.

raycast car [Re: Marco_Grubert] #41312
02/23/05 07:13
02/23/05 07:13
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
http://walaber.com/newton_wiki/index.php?title=Making_a_raycast_car

on the newton wiki someone started a tutorial for doing a raycast car (isn't complete yet). i guess something like this would work with a6 commercial too.


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