Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,619 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[Newton] Access objects #48303
06/25/05 10:46
06/25/05 10:46
Joined: Feb 2005
Posts: 728
Germany, Berlin
Asse Offline OP
Developer
Asse  Offline OP
Developer

Joined: Feb 2005
Posts: 728
Germany, Berlin
I want to use Newton Game Dynamics for my dices. Now in the tutorials I only found a way to place objects with Newton but I don't know how I can interact with them.

E.g. I want to take my two dices and roll them over a board, Is this possible??

An example of how to simply change the position of a newton object would be enough!!


A6.31.4 Commercial AMD Athlon XP 2400+ Radeon 9800Pro 512MB DDR-Ram Windows XP Professional SP2 3D GameStudio Magazin
Re: [Newton] Access objects [Re: Asse] #48304
07/14/05 23:00
07/14/05 23:00
Joined: Sep 2002
Posts: 344
São Paulo SP Brazil
Marcio Esper Offline
Senior Member
Marcio Esper  Offline
Senior Member

Joined: Sep 2002
Posts: 344
São Paulo SP Brazil
Hi Assue,

I am newbie to newton too, but I think you can found this informations in the NGD examples.

I think it control the movement of an entity

record[0]=my.x;
record[1]=my.y;
record[2]=my.z; // 0,1,2 = entity to be moved
record[3]=camera.x; // 3,4,5 = where to put entity
record[4]=camera.y;
record[5]=camera.z;
record[6]=7; // was 1 - This is speed...
record[7]=1000; // was 10000 - controls speed of ball record[7] = desired change of speed apply to hit body

NewtonBodyAddImpulse(NewtonGetBody(my),record);


Sorry for the terrible English

Best regards,

Marcio


Moderated by  HeelX, Spirit 

Gamestudio download | 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