[PhysX] how to use it for obj model ?

Started by
1 comment, last by Sonec Borec Nguyen 11 years, 6 months ago
Hi there, I'm new in OGL and especially in PhysX and I need to know, how I can apply PhysX on models. I'm using PhysX 3.1.2 and for PhysX 3 and above there aren't good simple tutorials for beginners (except official PhysX guide).
For now I know how to create scene and actors and some shape, but I have some models (car and map) which I want to use in PhysX.

So questions are:
How I can apply map as plane (height map as ground) in PhysX ?
How I can apply car as object on map/ground in PhysX ?
Thanks for any help :)

Now I have car and map in OpenGL and basic create physx scene:
397286_2477160304937_1482195368_n.jpg
Advertisement

  1. How I can apply map as plane (height map as ground) in PhysX ?
  2. How I can apply car as object on map/ground in PhysX ?


  1. Yes, I've seen some references to [font=courier new,courier,monospace]NxHeightFieldShape [/font](but I don't have the SDK installed so I cannot check).
  2. What does that even mean. You probably want to apply a "car with wheels" model. You'll have to look at the SDK for that. Or perhaps you'll want it to be kinematic?

Previously "Krohm"

Ad 1) thanks, I'll google it :)
Ad 2) I mean of coarse car with wheels (shape of the car could be a box), I didn't find examples for this and I'm newbie so it's difficult for me.

This topic is closed to new replies.

Advertisement