|
Re: Newton 2 wrapper
[Re: BigM]
#244377
01/04/09 11:32
01/04/09 11:32
|
Joined: Aug 2004
Posts: 1,345 Kyiv, Ukraine
VeT
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
|
hi, BigM 1 - you're absolutely right: i used code from newton 2.16 and forgot that in 2.17 there are some changes like - function NewtonBodyGetAutoFreeze is changed to NewtonBodyGetAutoSleep - function NewtonBodySetAutoFreeze is changed to NewtonBodySetAutoSleep
i changed them in main wrapper function, but forget to change in other scripts your remark is really very helpfull 2 - what about corkscrew interesting... i looked through original Newton.h from v 2.16 and 2.17 and they are both voids... and in wrapper they are dwords... interesting, why i changed this anyway, thank you for help and for your time that you spend for my wrapper
|
|
|
Re: Newton 2 wrapper
[Re: VeT]
#244410
01/04/09 15:41
01/04/09 15:41
|
Joined: Oct 2005
Posts: 57
picoder
Junior Member
|
Junior Member
Joined: Oct 2005
Posts: 57
|
Keep up the good work!
Last edited by picoder; 01/20/10 07:05.
|
|
|
Re: Newton 2 wrapper
[Re: VeT]
#244414
01/04/09 16:30
01/04/09 16:30
|
Joined: Aug 2004
Posts: 1,345 Kyiv, Ukraine
VeT
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
|
v.16 - updated dll to newton 2.18 (its a pitty, but in 2.18 almost no new features) - fixed 'Empty prototype' error with the help of BigM, all NewtonBodySetAutoFreeze is changed to NewtonBodySetAutoSleep - added map21.c - impluse weapon demo, that was excluded before the contest because of errors and craches, now works fine - added map50.c with compounds, i worked a lot with it, it must be the one of main feature of wrapper but, i forget about it also now works fine
|
|
|
Re: Newton 2 wrapper
[Re: croman]
#244636
01/05/09 22:58
01/05/09 22:58
|
Joined: Aug 2004
Posts: 1,345 Kyiv, Ukraine
VeT
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
|
i decided to manage with c-script later, so... v.17 - added and initialised library JointLibrary.dll - added map100.c, where simple function CreateSimpleRope() creates fully physical rope. Just use Space to activate mouse and check it. - minor bugs are fixed. thats quite simple, right?
|
|
|
Re: Newton 2 wrapper
[Re: VeT]
#244700
01/06/09 11:14
01/06/09 11:14
|
Fear411
Unregistered
|
Fear411
Unregistered
|
looks really cool, but if i grap one piece of the rope ithen it looks weird. between the piece and the other pieces is a big space.
|
|
|
|