What does this error mean?

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Re: What does this error mean?

Postby FSA » Wed Nov 21, 2012 11:34 am

Here the program: https://www.dropbox.com/s/86z46i1szgmnmfx/Proxy_bug.zip
Walk to the right to the other tunnels. When you reach the 2nd one the error appears.
User avatar
FSA
 
Posts: 318
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby Julio Jerez » Wed Nov 21, 2012 11:58 am

Ok I se the bug, debuging it now.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby Julio Jerez » Wed Nov 21, 2012 12:08 pm

Ok fixed.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby FSA » Wed Nov 21, 2012 1:28 pm

Woked! Thank you!
User avatar
FSA
 
Posts: 318
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby Neo » Thu Nov 22, 2012 1:22 am

Julio Jerez wrote:Neo I think we foudn what is cause the problem, I thinh it is becayse teh soudn library is no wronk on windows XP, are you running windows XP?

Yeah, I'm using the winxp..not willing to buy the win7...
Neo
 
Posts: 127
Joined: Fri May 11, 2012 12:29 pm
Location: China,Sichuan

Re: What does this error mean?

Postby Julio Jerez » Thu Nov 22, 2012 2:04 pm

Ok Neo that bug was fixed, if you sync to SVN nwo you can select DebugDLL, or ReleaseDLL and see how the projetc is configures.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby Neo » Thu Nov 22, 2012 10:04 pm

Ok, it works, thx
Neo
 
Posts: 127
Joined: Fri May 11, 2012 12:29 pm
Location: China,Sichuan

Re: What does this error mean?

Postby Neo » Thu Nov 22, 2012 10:10 pm

So...instead of calling the joint library interface, how to use basic joint like hinge? Using the class directly?(If so, there's a lot code to be changed in my program)
I tried to use old djointlibrary header, but it gave me link errors.
Neo
 
Posts: 127
Joined: Fri May 11, 2012 12:29 pm
Location: China,Sichuan

Re: What does this error mean?

Postby Julio Jerez » Mon Nov 26, 2012 1:00 pm

Ok I am strating to add the collison policy for kinematic bodies,
this is what I have in mind
    -Kinematic bodies can only have convex or Compound collision shape, unpredictable results will happen if a kinematic body has a collision mesh or scene collision attach to it
    -Kinematic bodies with a collidable collision shape behave as a static body
    -Kinematic bodies with a non collidable collision shape generate collision pairs those paiar do not calculate collision contacts, bascially these make efficient triggersc
please tell me if this satifcactory


Neo, yes you need to use the classes, tehhy are vert eassy to use.
I have to do that because, it is too complicater to have a static and dll link in teh same library, class do no like to have meneber varible to have dynmaics link, and
the classes use othe classes as member,
Instead I will make a separate DLL similar to teh Newton.dd whicj is a C wraper over tge dWorld class in the newton world.

the changes to use the joint class are very minor.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby FSA » Mon Nov 26, 2012 1:41 pm

What do you mean with:
-Kinematic bodies can only have convex or Compound collision shape, unpredictable results will happen if a kinematic body has a collision mesh or scene collision attach to it
?
User avatar
FSA
 
Posts: 318
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby Julio Jerez » Mon Nov 26, 2012 2:41 pm

it means that if you want to make kinematic body, they are expectd to have volume
therefore they can only have convex shape (sphere, box, capsule, cylinder, cones, convex hull, or compound collsion) as collision shape.

Kinematic bodies are used as triggers and later as other special effect like softbodies and cloth.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby FSA » Wed Nov 28, 2012 6:24 am

Yes. That Sounds Good.
User avatar
FSA
 
Posts: 318
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby Julio Jerez » Thu Nov 29, 2012 11:34 am

Ok Guys I now elaborate a bit more on the player

there is and advacent player demo that places a player is a small play graund and add some game logic using trigger and a kinematioc joint to move and object in the enviromnet

Thsi show hwo useful the Trgeer Manager is to implmnet stuff like botom in a level.

of force this is in C++, but afte I add few more game control to the demo, I will add teh LUA sopport when all these thsi will demo trate hwo eassy will be to make a Game engien or a Game using
Newton Dynamics Tool. Or at least I hope this make seimpel to code Game play logic.

It is all check in, if you guy can test it.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby FSA » Sun Dec 02, 2012 11:18 am

I test it in the sandbox demos. Looks very good. But whats the diffrent between the player controller I've created(Simple Player contorller)? In the source code I can't notice any big change.
User avatar
FSA
 
Posts: 318
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby Julio Jerez » Sun Dec 02, 2012 11:42 am

that player controller have some new funtionality but it is still imcompleted

it get teh velcoicu of oteh body (only horizantal) i is awere of all objects that are on contact with him
other object do no react to playe yet, I was goin to do thatm but I fist need to solev a compatibility issue with Mac and Linux.

I have alot of problems with stream function in teh Mac, I has alway has thsoie issue an each timen I write a macro to make i compatible.
but now I go to a point that is is very har to continue doing that.

I first wanted to use standrd std::stream class bu tha class reliy on stuff like standar stl wch will blow the engien in memory size and allocation.
so I am writing a dStream class that will reslve all those compatibility issues.
after that I will contineu finishing the Player.

I have pending:
-Make oteh dunamics bopdies collide with player.
-make player inherit vertical velocity of dynamics bodies
-player can push oteh objects.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 41 guests