Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Physx and Dark GDK

Author
Message
Akshay
13
Years of Service
User Offline
Joined: 1st Dec 2010
Location:
Posted: 14th Dec 2010 12:30
Hello I am new to Physx SDK, but I wish to use it in Dark GDK. I created a new project (via 3d game wizard) and included physx headers and declared these gloabal variables :-
// Physics SDK globals
NxPhysicsSDK* gPhysicsSDK = NULL;
NxScene* gScene = NULL;
NxVec3 gDefaultGravity(0,-9.8,0);

I also have an actor for ground plane created using 'gScene->createActor(actorDesc);'. Now How to display it in Dark GDK window?
Matty H
15
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 14th Dec 2010 18:28 Edited at: 14th Dec 2010 18:28
Its up to you how you want to display it, the ground plane actor is just a static actor whose x and z dimensions are infinite.
Just create a plane as big as you need:

You may need to rotate it 90(-90) degrees about the x-axis if I remember correct.

Are you not using my plug-in anymore?
Its good experience to do it yourself, you will learn alot but its a long and torturous journey

Login to post a reply

Server time is: 2024-09-28 14:06:01
Your offset time is: 2024-09-28 14:06:01