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 Physics & Dark A.I. & Dark Dynamix / Dark Physics Raycasting

Author
Message
CSGames94
16
Years of Service
User Offline
Joined: 27th Dec 2007
Location:
Posted: 26th Oct 2008 21:13
How do you point the raycast in the direction the camera is pointing for an FPS Game?
And can raycasting move objects and tear cloth?
Lucy
17
Years of Service
User Offline
Joined: 19th Apr 2007
Location: Roanoke, VA USA
Posted: 27th Oct 2008 08:02
You don't want to use ray casting with Dark Physics right now. There's a problem with the ray cast functions only returning the lowest numbered object that is hit by the ray, rather than the closest object.

Technically, raycasting can be used to move objects and whatnot, but you'll have to do a lot more than just cast a ray. The ray needs to be used to determine little more than the point of impact.

Everything I needed to know about trigonometry, I learned by becoming a game programmer.
CSGames94
16
Years of Service
User Offline
Joined: 27th Dec 2007
Location:
Posted: 28th Oct 2008 03:16
So how would I be able to do the same thing with Sparky's Collision?
ICERGB
21
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 16th Jan 2009 06:48
it would be interesting to see if sparky's collision could recognise a physx object.

Login to post a reply

Server time is: 2024-05-03 11:41:32
Your offset time is: 2024-05-03 11:41:32