IrrPhysx 0.2 - Nvidia Physx 2.8.1 wrapper
-
- Posts: 368
- Joined: Tue Aug 21, 2007 1:43 am
- Location: The Middle of Nowhere
-
- Posts: 1691
- Joined: Sun May 18, 2008 9:42 pm
ummm
The heightfield example won't run for me. Does that mean it probably won't in my game? Though you did seem to fix the cloth example crashing.
That would be illogical captain...
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
-
- Posts: 1691
- Joined: Sun May 18, 2008 9:42 pm
ohhh
I also got linker errors trying to set up IrrPhysx. Do I need to set up the NVidia PhysX SDK?
That would be illogical captain...
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
-
- Posts: 1691
- Joined: Sun May 18, 2008 9:42 pm
Box object
Is their a way to create a box collision object from an Irrlicht scene node?
Create box object doesn't seem to let you pass a scene node.
Create box object doesn't seem to let you pass a scene node.
That would be illogical captain...
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
-
- Posts: 368
- Joined: Tue Aug 21, 2007 1:43 am
- Location: The Middle of Nowhere
-
- Posts: 1691
- Joined: Sun May 18, 2008 9:42 pm
....
Whoops . I've never used a physics engine that actually worked before. I looked throught the API and kinda got the way it worked mixed up, I'll loo at the examples for everything I can.
That would be illogical captain...
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
-
- Posts: 1691
- Joined: Sun May 18, 2008 9:42 pm
force?
I can't find anything like an addForce function in the docs for IrrPhysx.
Is their a way to do this?
Is their a way to do this?
That would be illogical captain...
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
-
- Posts: 368
- Joined: Tue Aug 21, 2007 1:43 am
- Location: The Middle of Nowhere
You can always cast an IPhysXObject to a CPhysXObject and gain access to the PhysX actor, thus using the physics API to manipulate the object, instead of relying on the wrapper to do it. However, before you do that, I'd suggest you keep the PhysX API doc in hand and take a look at the internals of the wrapper to make sure you don't step on its toes.
rogerborg wrote:Every time someone learns to use a debugger, an angel gets their wings.
-
- Posts: 1691
- Joined: Sun May 18, 2008 9:42 pm
how though?
What I want to do is make my character jump with an add force command. But I think the solution Dark_Kilauea had is somewhat complicated for me.
That would be illogical captain...
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
Dark's suggestion isn't particularly hard... you'll just probably need to add some extra Physx includes and such to your code so that it'll compile and then you'll have to look at the Physx documentation for how to apply forces to Physx Actors.
Incidentally I'm working on getting a Irrlicht 1.5 compatible IrrPhysx released... getting some weird crashes in the CRT with nvoglnt.dll in a lot of cases though which is rather weird... might need to fiddle my drivers a bit...
Incidentally I'm working on getting a Irrlicht 1.5 compatible IrrPhysx released... getting some weird crashes in the CRT with nvoglnt.dll in a lot of cases though which is rather weird... might need to fiddle my drivers a bit...
I could not even compiled
The IrrPhys was really wonderful as to me.
But when downloading the IrrPhys SDK, I failed.
The package always lost some files.
Can someone who would like to share the SDK with me?
whugang@gmail.com Thanks.
But when downloading the IrrPhys SDK, I failed.
The package always lost some files.
Can someone who would like to share the SDK with me?
whugang@gmail.com Thanks.