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 (Quad, AndrewAMD, Imhotep, TipmyPip, Edgar_Herrera), 809 guests, and 4 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 36 of 41 1 2 34 35 36 37 38 40 41
Re: Newton 2 wrapper [Re: yorisimo] #301072
12/08/09 07:57
12/08/09 07:57
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Yes the hinge joint is legacy only, but it worked quick and fine for me, so I just use it and eeryhting is fine. laugh

Re: Newton 2 wrapper [Re: FBL] #301656
12/12/09 16:05
12/12/09 16:05
Joined: Sep 2008
Posts: 68
T
Tai Offline
Junior Member
Tai  Offline
Junior Member
T

Joined: Sep 2008
Posts: 68
Just wanted to say thanks for this; I'm currently using it in my project, and it works great.

Re: Newton 2 wrapper [Re: Tai] #301841
12/14/09 15:55
12/14/09 15:55
Joined: Mar 2007
Posts: 197
Y
yorisimo Offline
Member
yorisimo  Offline
Member
Y

Joined: Mar 2007
Posts: 197
VeT,

I noticed you had a post on the NGD forum about this. Post

In NewtonJointLibraryMain.c, i believe you should replace the commented out lines with the uncommented lines. That works for me.

Code:
//typedef void NewtonUserJointDestructorCallback;
//typedef long NewtonUserJointSubmitConstraintCallback;
typedef void *NewtonUserJointDestructorCallback; 
typedef void *NewtonUserJointSubmitConstraintCallback;



Also, Julio has added some functions for the CustomHinge in the latest version 2.13. I made the following additions in your wrapper:

in NewtonJointLibraryMain.c:
Code:
// generic joint functions
...
JOINTLIBRARY_API NewtonJoint* CustomGetNewtonJoint (const NewtonUserJoint *joint); 
...
// Interface for a custom Hinge joint with Limits
JOINTLIBRARY_API dFloat HingeGetJointAngle (const NewtonUserJoint* hingeJoint);  
JOINTLIBRARY_API void HingeGetPinAxis (const NewtonUserJoint* hingeJoint, dFloat* pin); 
JOINTLIBRARY_API dFloat HingeCalculateJointOmega (const NewtonUserJoint* hingeJoint);



and in NewtonJointLibraryAPI.c:
Code:
// genetic joint functions
...
API (CustomGetNewtonJoint, jointlibrary)
...
// Interface for a custom Hinge joint with Limits
...
API (HingeGetJointAngle, jointlibrary) 
API (HingeGetPinAxis, jointlibrary) 
API (HingeCalculateJointOmega, jointlibrary)



I'd also like to say thanks for all your work on this! I find this wrapper very useful.


Joris Lambrecht
My Contributions: Relative Rotation, Window Sizing
Re: Newton 2 wrapper [Re: yorisimo] #303529
12/29/09 18:20
12/29/09 18:20
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline
Serious User
Rackscha  Offline
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
Great improvements to your plugin.

I noticed that the movement is faster than the movement of older versions. The older versions always seems to look like slowmo(my pc is fast enough^^). This now looks realtime and is an eye-candy.

Hey someone already found the "vote for Vet as god" button grin?

Ok to be serious again: I really like your contribution and that you put so much time into it.

Keep it up, i count on you wink

Greets
Rackscha


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Re: Newton 2 wrapper [Re: Rackscha] #304308
01/06/10 16:14
01/06/10 16:14
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
yorisimo, thanks, so you make character controller works?

Tai, Rackscha, thanks for good words laugh

Firoball, thanks in general grin


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] #316246
03/22/10 17:23
03/22/10 17:23
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline
Serious User
Rackscha  Offline
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
Question about joints: Static joints are working?
If YES i could try to make some Bad Company 2 Building with collapse effect
(hey it's using just joints nothing special in BC2, no realtime breakdown like Readfaction Guerilla and still neds a hell of a CPU o.O)


Greets
Rackscha


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Re: Newton 2 wrapper [Re: Rackscha] #321077
04/26/10 22:29
04/26/10 22:29
Joined: Oct 2006
Posts: 36
BigM Offline
Newbie
BigM  Offline
Newbie

Joined: Oct 2006
Posts: 36
Hi VeT,

I'm back to messing with lite-c and Newton. It's good to see you kept up the great work!

As I was adapting my code to fit the newest version of the wrapper I noticed that *NewtonCorkscrewCallBack was being cast as a DWORD instead of a void. This had already been corrected in earlier versions. Is there a reason for re-introducing the DWORD cast? I have to change it to void in order not to break my code.

I also noticed that there is now a NewtonMain2.18.c and a NewtonMain.c, a NewtonAPI2.18.c and a NewtonAPI.c (and likewise for the JointLibrary files). What are the differences between the two and which one should we use?

Cheers

Re: Newton 2 wrapper [Re: BigM] #321241
04/27/10 18:44
04/27/10 18:44
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
I did some tests with the Newton wrapper and A8.

The changes to get it to run are not so difficult and quickly done.

1.) open newton_main.c
2.) drop the _VERTEX_ struct and whenever it is used in the code, use D3DVERTEX instead.
3.) in your main script, currently you need to use #define A8 before including acknex.h. This won't be necessary with future A8 releases

4.) if you remove the #define A8 from your code, it should work with A7 again.

Have fun laugh

Re: Newton 2 wrapper [Re: FBL] #323880
05/18/10 00:33
05/18/10 00:33
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
Thanks laugh

Hi all, sorry for delays, but i have a good news: in some days i'm planing to return to work on wrapper laugh


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] #323890
05/18/10 03:17
05/18/10 03:17
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Thats just great!!! laugh Waiting for your rag-dolls dude wink


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Page 36 of 41 1 2 34 35 36 37 38 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