Gamestudio Links
Zorro Links
Newest Posts
Fun Arcade Car Physics (nfs style)
by Ezzett. 08/02/26 21:11
ZorroGPT
by TipmyPip. 07/31/26 22:56
Wolfram Mathematica with Zorro
by TipmyPip. 07/30/26 02:07
What are you working on?
by rayp. 07/24/26 22:58
Z9 getting Error 058
by madpower2000. 07/22/26 14:01
New Zorro version 3.11
by jcl. 07/21/26 13:42
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 1,491 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
c_trace causing serious slowdowns? #289005
09/09/09 21:29
09/09/09 21:29
Joined: Sep 2008
Posts: 68
T
Tai Offline OP
Junior Member
Tai  Offline OP
Junior Member
T

Joined: Sep 2008
Posts: 68
Since I've been coding my game for a while, I hadn't really noticed this, since I guess I got used to it, but c_tracing with the following causes 'jerks' in the movement?

Code:
while(1)
{
  //movement code and stuff here
   c_trace(my.x,vector(my.x,my.y,my.z-30),IGNORE_ME|IGNORE_SPRITES);


This seems curious; does tracing cause that big of a slowdown? The fps is unchanged, and I need to use c_traces (actually more then one in some situations), so this poses a problem.


EDIT: Problem solved, not c_trace after all

Last edited by Tai; 09/09/09 22:20. Reason: Fixed
Re: c_trace causing serious slowdowns? [Re: Tai] #289009
09/09/09 22:19
09/09/09 22:19
Joined: Sep 2008
Posts: 68
T
Tai Offline OP
Junior Member
Tai  Offline OP
Junior Member
T

Joined: Sep 2008
Posts: 68
Ugh, chalk this one up to stupidity; I had multiple vector calculations running every frame, instead of a single frame like I intended. Problem Solved.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1