GearBlocks
คะแนนไม่เพียงพอ
Chronograph
   
รางวัล
ชื่นชอบ
ชื่นชอบแล้ว
เลิกชื่นชอบ
แท็ก:  scenario
ขนาดไฟล์
โพสต์
อัปเดต
20.794 KB
4 ธ.ค. 2024 @ 8: 31pm
23 ธ.ค. 2024 @ 7: 04pm
2 หมายเหตุการเปลี่ยนแปลง ( ดู )
คำอธิบาย
A chronograph for measuring the speed of projectiles.
Measured speeds are presented in meters per frame and meters per second.
Note that the chronograph requires at least two samples to produce a value; if your projectile exceeds about 1.5 m/frame, readings may be unreliable. Download the scenario and extend the checkpoint box if this is the case, and also message me because that sounds like one hell of a cannon.

The chrono should work with atomic, multipart independent, and multipart-but-associated projectiles. Note that it will latch onto the first part of the projectile regardless, so if the projectile is tumbling, readings may be somewhat noisy.

Script includes boilerplate from the official 1/8 Mile Drag Strip scenario.

Updated to implement the brand new FixedUpdate and FixedDeltaTime API entries.
1 ความเห็น
0111narwhalz  [ผู้สร้าง] 23 ธ.ค. 2024 @ 7: 08pm 
Updated with FixedUpdate, so the displacement per frame actually means something now and the chrono should work as expected at higher sim frequencies.