Archived

This topic is now archived and is closed to further replies.

T2k

Need help with the Grenades

Recommended Posts

T2k    220
iam actually trying to get the grenades working, but all i get are wrong? values?! heres a log from a nade fired into free space, no obstacles in the way, default angle:
Pos= (-0.00, 0.10) Speed= 0.10/update => 4.50 units/second
Pos= (-0.00, 0.30) Speed= 0.20/update => 9.00 units/second
Pos= (-0.00, 0.60) Speed= 0.30/update => 13.50 units/second
Pos= (-0.00, 1.00) Speed= 0.40/update => 18.00 units/second
Pos= (-0.00, 2.10) Speed= 1.10/update => 49.50 units/second
Pos= (0.00, 3.60) Speed= 1.50/update => 67.50 units/second
Pos= (-0.00, 4.50) Speed= 0.90/update => 40.50 units/second
Pos= (0.00, 7.80) Speed= 3.30/update => 148.50 units/second
Pos= (0.00, 9.10) Speed= 1.30/update => 58.50 units/second
Pos= (0.00, 10.50) Speed= 1.40/update => 63.00 units/second
Pos= (0.00, 13.60) Speed= 3.10/update => 139.50 units/second
Pos= (0.01, 19.00) Speed= 5.40/update => 243.00 units/second
Pos= (-0.01, 21.00) Speed= 2.00/update => 90.00 units/second
Pos= (0.01, 23.10) Speed= 2.10/update => 94.50 units/second
Pos= (0.01, 32.50) Speed= 9.40/update => 423.00 units/second
Pos= (0.02, 56.09) Speed= 23.60/update => 1062.00 units/second
Pos= (0.02, 62.99) Speed= 6.90/update => 310.50 units/second
Pos= (0.02, 70.29) Speed= 7.30/update => 328.50 units/second
Pos= (0.03, 81.99) Speed= 11.70/update => 526.50 units/second
Pos= (0.03, 86.09) Speed= 4.10/update => 184.50 units/second
Pos= (0.03, 94.59) Speed= 8.50/update => 382.50 units/second
Pos= (0.03, 98.99) Speed= 4.40/update => 198.00 units/second
Pos= (0.04, 108.09) Speed= 9.10/update => 409.50 units/second
Pos= (0.04, 112.79) Speed= 4.70/update => 211.50 units/second
Pos= (0.04, 117.59) Speed= 4.80/update => 216.00 units/second
Pos= (0.04, 122.49) Speed= 4.90/update => 220.50 units/second
Pos= (0.04, 137.79) Speed= 15.30/update => 688.50 units/second
Pos= (0.05, 148.48) Speed= 10.70/update => 481.50 units/second
Pos= (0.05, 153.98) Speed= 5.50/update => 247.50 units/second
Pos= (0.05, 159.58) Speed= 5.60/update => 252.00 units/second
this is directly taken from what the arena told me with getobject, no manipulations heres a second log, a nade fired at 60degs
Pos= (0.00, 3.60) Speed= 3.60/update => 162.00 units/second
Pos= (0.00, 4.50) Speed= 0.90/update => 40.50 units/second
Pos= (0.00, 7.80) Speed= 3.30/update => 148.50 units/second
Pos= (0.00, 9.10) Speed= 1.30/update => 58.50 units/second
Pos= (0.00, 15.30) Speed= 6.20/update => 279.00 units/second
Pos= (-0.01, 25.30) Speed= 10.00/update => 450.00 units/second
Pos= (0.00, 32.50) Speed= 7.20/update => 324.00 units/second
Pos= (0.01, 35.10) Speed= 2.60/update => 117.00 units/second
Pos= (0.01, 37.80) Speed= 2.70/update => 121.50 units/second
Pos= (0.01, 56.19) Speed= 18.40/update => 828.00 units/second
how is the jumping of the speed to be interpreted??? do the simulation of the nades follow the 0.02222secs per update??? and how can a nade accelerate? T2k

Share this post


Link to post
Share on other sites
T2k    220
quote:
Original post by Neosmyle
Dont forget that a second != an update.


What is your Point??? if you dont know it already:
1Second simulated time == 45,00 UpdateCalls

Heres another log, but this time ive recorded also how many calls to update had passed (first number) as everyone can see some where skipped, but the nade still accelerates ??? shouldnt there be a constant velocity in (edit3D-horizontal (x-z-plane) direction???

297 : (0.00, 0.10), Speed= 0.10 => 0.02 Units/sec
298 : (0.00, 0.30), Speed= 0.20 => 9.00 Units/sec
303 : (-0.00, 2.80), Speed= 2.50 => 22.50 Units/sec
304 : (-0.00, 3.60), Speed= 0.80 => 36.00 Units/sec
305 : (-0.00, 4.50), Speed= 0.90 => 40.50 Units/sec
306 : (-0.00, 5.50), Speed= 1.00 => 45.00 Units/sec
308 : (-0.00, 7.80), Speed= 2.30 => 51.75 Units/sec
309 : (-0.00, 9.10), Speed= 1.30 => 58.50 Units/sec
312 : (-0.00, 13.60), Speed= 4.50 => 67.50 Units/sec
313 : (-0.01, 15.30), Speed= 1.70 => 76.50 Units/sec
314 : (-0.00, 17.10), Speed= 1.80 => 81.00 Units/sec
315 : (-0.01, 19.00), Speed= 1.90 => 85.50 Units/sec
317 : (-0.00, 23.10), Speed= 4.10 => 92.25 Units/sec
318 : (-0.01, 25.30), Speed= 2.20 => 99.00 Units/sec
319 : (-0.01, 27.60), Speed= 2.30 => 103.50 Units/sec
320 : (-0.01, 30.00), Speed= 2.40 => 108.00 Units/sec
321 : (-0.00, 32.50), Speed= 2.50 => 112.50 Units/sec
322 : (-0.01, 35.10), Speed= 2.60 => 117.00 Units/sec
323 : (-0.01, 37.80), Speed= 2.70 => 121.50 Units/sec
324 : (-0.01, 40.60), Speed= 2.80 => 126.00 Units/sec
325 : (-0.00, 43.50), Speed= 2.90 => 130.50 Units/sec
326 : (-0.01, 46.50), Speed= 3.00 => 135.00 Units/sec
327 : (-0.01, 49.60), Speed= 3.10 => 139.50 Units/sec
330 : (0.02, 59.49), Speed= 9.90 => 148.50 Units/sec
331 : (0.02, 62.99), Speed= 3.50 => 157.50 Units/sec
332 : (0.02, 66.59), Speed= 3.60 => 162.00 Units/sec
333 : (-0.01, 70.29), Speed= 3.70 => 166.51 Units/sec
334 : (-0.01, 74.09), Speed= 3.80 => 171.00 Units/sec
335 : (-0.01, 77.99), Speed= 3.90 => 175.50 Units/sec
336 : (-0.01, 81.99), Speed= 4.00 => 180.00 Units/sec
337 : (0.03, 86.09), Speed= 4.10 => 184.51 Units/sec
338 : (0.03, 90.29), Speed= 4.20 => 189.00 Units/sec
339 : (-0.01, 94.59), Speed= 4.30 => 193.51 Units/sec
340 : (0.03, 98.99), Speed= 4.40 => 198.01 Units/sec
341 : (0.03, 103.49), Speed= 4.50 => 202.50 Units/sec
342 : (0.03, 108.09), Speed= 4.60 => 207.00 Units/sec
345 : (0.03, 122.49), Speed= 14.40 => 216.00 Units/sec
347 : (0.04, 132.59), Speed= 10.10 => 227.25 Units/sec
348 : (0.03, 137.79), Speed= 5.20 => 234.00 Units/sec
349 : (0.04, 143.09), Speed= 5.30 => 238.50 Units/sec
350 : (0.04, 148.49), Speed= 5.40 => 243.00 Units/sec



T2k

[edited by - T2k on August 10, 2003 6:46:39 AM]

Share this post


Link to post
Share on other sites