About Store Forum Documentation Contact



Post Reply 
Actors of Mesh type cannot be dynamic?
Author Message
SONB Offline
Member

Post: #1
Actors of Mesh type cannot be dynamic?
Yesterday I tried to add forces to my ship, which has a Mesh actor. It didn't move because of the PhysX limitation, as I read later in the manual.
Well, my question is: Is this really a limitation of PhysX or of the engine? I'm asking because a couple of years ago I was playing with the Ogre engine using NxOgre, a physics wrapper for PhysX. And there I was able to use mesh actors as dynamic actors. Now I'm confused because the both engines use PhysX but have different limitations :?
04-15-2009 02:36 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
Re: Actors of Mesh type cannot be dynamic?
This is a 100% PhysX limitation.
It doesn't allow for mesh based actors.

You should simulate the mesh via Phys body created out of multiple geometrical shapes in Mesh Editor.
04-15-2009 02:38 PM
Find all posts by this user Quote this message in a reply
SONB Offline
Member

Post: #3
Re: Actors of Mesh type cannot be dynamic?
Ah, ok. I think this NxOgre wrapper calculates physics for mesh actors on his own and not the PhysX itself.
I'm trying to create a phys body in Mesh Editor right now.

Thanx, Esenthel.
04-15-2009 02:52 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
Re: Actors of Mesh type cannot be dynamic?
I've added an option to automatically build the Phys Body as convex mesh in the Mesh Editor (will be available in the next release)
04-15-2009 03:00 PM
Find all posts by this user Quote this message in a reply
SONB Offline
Member

Post: #5
Re: Actors of Mesh type cannot be dynamic?
Good to hear that, Esenthel!
One question: what is the difference between convex type and mesh type actors?

Another question: How can I rotate a physics shape in Mesh Editor? I tried every key combination, but nothing works.
04-15-2009 03:34 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #6
Re: Actors of Mesh type cannot be dynamic?
convex actors can be dynamic, while mesh can be only static.

hovewer convex due to their nature will look like this:
[Image: Convex.gif]
04-15-2009 03:37 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #7
Re: Actors of Mesh type cannot be dynamic?
to rotate please select 'rotating' mode (key 'e')
then with a shape selected use the right mouse button
04-15-2009 03:38 PM
Find all posts by this user Quote this message in a reply
SONB Offline
Member

Post: #8
Re: Actors of Mesh type cannot be dynamic?
Thanx for the explanation.
The right mouse doesn't work. I can move and scale a shape but not rotate.
And CTRL+RMB doesn't work either (for scale in one axis). I can scale only in all three axis. Hmm...
04-15-2009 03:48 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #9
Re: Actors of Mesh type cannot be dynamic?
I've tested it and it works fine.
what type of shape are you using?
04-15-2009 03:51 PM
Find all posts by this user Quote this message in a reply
SONB Offline
Member

Post: #10
Re: Actors of Mesh type cannot be dynamic?
Oh, it doesn't work only with the ball shape..
Wait, is it possible to squeeze a ball shape, scaling it only in X axis?
04-15-2009 03:54 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #11
Re: Actors of Mesh type cannot be dynamic?
Ball cannot be squeezed
04-15-2009 04:27 PM
Find all posts by this user Quote this message in a reply
Post Reply