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 / Lose fps with dark physics

Author
Message
airforce1
15
Years of Service
User Offline
Joined: 2nd Apr 2009
Location:
Posted: 2nd Apr 2009 11:37
My bullet is a dynamic sphere. When I shoot my fps drop from 55

to 7. Does anyone else have this problem that could help?

Thanks alot
BillR
21
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 6th Apr 2009 09:17
how about some sample code that we can execute
showing the problem, thanks.

code that we can copy and paste (no media) is best.
airforce1
15
Years of Service
User Offline
Joined: 2nd Apr 2009
Location:
Posted: 6th Apr 2009 14:23
I have 4000 lines of code alot of media. Thats why I did not post

anycode.
jeffhuys
18
Years of Service
User Offline
Joined: 24th May 2006
Location: No cheesy line here.
Posted: 10th Apr 2009 15:20
Then post the part of the code that creates the sphere, and the part that moves the sphere...



You're the 'th to view this signature!
Lucy
17
Years of Service
User Offline
Joined: 19th Apr 2007
Location: Roanoke, VA USA
Posted: 10th Apr 2009 20:46
Quote: "and the part that moves the sphere..."


Um, that would be the "phy update" command that does that...

AF1, What are your system specs, and are you spawning the bullet inside of an object that's in the physics system? If you do that, PhysX likes to throw a hissy fit. You should never spawn a physical object such as a bullet inside of an object that it can collide with.

Everything I needed to know about trigonometry, I learned by becoming a game programmer.

Login to post a reply

Server time is: 2024-11-24 17:08:41
Your offset time is: 2024-11-24 17:08:41