Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AndrewAMD, monk12, TipmyPip, Quad, aliswee), 1,029 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 35 of 41 1 2 33 34 35 36 37 40 41
Re: Newton 2 wrapper [Re: jweb] #298771
11/17/09 17:22
11/17/09 17:22
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Wow that's old stuff.
Didn't know Julio was involved in GS stuff

Re: Newton 2 wrapper [Re: FBL] #298790
11/18/09 01:05
11/18/09 01:05
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline OP

Serious User
VeT  Offline OP

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
Yep, too old... dll, wrapper and whole system is another now (as i remember, there were used speshial file with physic geometry)


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: Newton 2 wrapper [Re: VeT] #298831
11/18/09 09:37
11/18/09 09:37
Joined: May 2003
Posts: 567
Spain, Canary Islands
Felixsg Offline
User
Felixsg  Offline
User

Joined: May 2003
Posts: 567
Spain, Canary Islands
Are any progress in the car physics?
Great work

Re: Newton 2 wrapper [Re: Felixsg] #298834
11/18/09 10:57
11/18/09 10:57
Joined: Feb 2009
Posts: 35
Watertown, New York, US
goanna Offline
Newbie
goanna  Offline
Newbie

Joined: Feb 2009
Posts: 35
Watertown, New York, US
I checked out the videos and I'm just blown away, truely awesome!!

Re: Newton 2 wrapper [Re: goanna] #300498
12/02/09 19:34
12/02/09 19:34
Joined: Mar 2007
Posts: 197
Y
yorisimo Offline
Member
yorisimo  Offline
Member
Y

Joined: Mar 2007
Posts: 197
Does anyone have a good example of custom joints? I would like to use the CreateCustomHinge function along with HingeEnableLimits and HingeSetLimits because I use many hinges that have limits. I am very confused about what pinsAndPivoChildFrame is supposed to be. I've looked at the Newton documentation but there isn't much help on the JointLibrary yet.

I'm also wondering what exactly the CustomKinematicController is used for. My game/simulator requires a combination of both kinematic (actual recorded movements from a human) and physics simulation of objects that the user manipulates.


Joris Lambrecht
My Contributions: Relative Rotation, Window Sizing
Re: Newton 2 wrapper [Re: yorisimo] #300561
12/03/09 10:18
12/03/09 10:18
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline OP

Serious User
VeT  Offline OP

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
http://newtondynamics.com/forum/viewtopic.php?f=9&t=4922&start=0

Newton 2.12 is out, updating wrapper...

yorisimo, try to ask Firoball or on Newton's forum.


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: Newton 2 wrapper [Re: VeT] #300568
12/03/09 11:11
12/03/09 11:11
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
I only used the old customhinge, not custom joint.
The code for using the hinge is somewhere in this thread.

Re: Newton 2 wrapper [Re: FBL] #300569
12/03/09 11:19
12/03/09 11:19
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline OP

Serious User
VeT  Offline OP

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: Newton 2 wrapper [Re: VeT] #300756
12/04/09 21:42
12/04/09 21:42
Joined: May 2003
Posts: 567
Spain, Canary Islands
Felixsg Offline
User
Felixsg  Offline
User

Joined: May 2003
Posts: 567
Spain, Canary Islands
I think I understand destruction physics objects
in the new version of newton (by the moment only beta)
but appear that is the next release

Re: Newton 2 wrapper [Re: VeT] #301039
12/07/09 22:16
12/07/09 22:16
Joined: Mar 2007
Posts: 197
Y
yorisimo Offline
Member
yorisimo  Offline
Member
Y

Joined: Mar 2007
Posts: 197
I believe that link is only regarding the internal hinge joint. From the Newton Wiki Newton Wiki: "The internal Hinge joint is a legacy join form previous version that we do not recommend continue using."

I am interested in using the CustomHingeJoint from the new joint library in Newton 2 (especially because it has built in joint limits).

I had trouble figuring out what the pinsAndPivoChildFrame matrix was supposed to be but I figured it out...here's an example

Code:
//about x axis
	float pinPivotMatrix[16] = {1, 0, 0, 0,   0, 1, 0, 0,   0, 0, 1, 0,   0, 0, 0, 1};
		//about y axis
	//float pinPivotMatrix[16] = {0, 1, 0, 0,   1, 0, 0, 0,   0, 0, 1, 0,   0, 0, 0, 1};
		//about z axis
	//float pinPivotMatrix[16] = {0, 0, 1, 0,   1, 0, 0, 0,   0, 1, 0, 0,   0, 0, 0, 1};
	
//Set the position of the pivot point
	pinPivotMatrix[12] = 160*QUANTTOMETER;
	pinPivotMatrix[13] = 147*QUANTTOMETER;
	pinPivotMatrix[14] = 400*QUANTTOMETER;
	
	NewtonUserJoint* nujoint = CreateCustomHinge(pinPivotMatrix, nbodyChild, nbodyParent); 

	HingeEnableLimits (nujoint, 1);
	float ub = 45*DEG2RAD;
	float lb = -45*DEG2RAD;
	HingeSetLimis (nujoint, lb, ub);



Last edited by yorisimo; 12/07/09 22:21.

Joris Lambrecht
My Contributions: Relative Rotation, Window Sizing
Page 35 of 41 1 2 33 34 35 36 37 40 41

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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