Jump to content

Recommended Posts

Posted

I moved a physic object in an empty 3D scene using PhysicsSetPosition().

As i add more complex scene like some ten trees with shadows and some other stuff , the physics becomes very jerky each time until become unplayable.

 

Could it be possible to have physics in a separate thread ?

Stop toying and make games

Posted

Physics are multithreaded, but no longer asynchronous. It caused a huge number of bugs so I disabled the asynchronous loop. It was really a programming nightmare. I can't comment on the specifics on your scene, but the character controllers just got a big performance boost. I'm guessing you're probably throwing some high-poly meshes at the simulation with no low-poly physics geometry for collision. The performance nowadays should be faster than Leadwerks 2.

Let's build cool stuff and have fun. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...