ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Programming and Scripting
forum topic indicator Bullet Speed "1" = km/h unit?
person icon
gree
Registered User
Quote
2022-12-14 15:07:57

I'm working on a WebGL shooter and want to define the bullet speed. The internal shooting script does the job very well - can't complain at all!

But I'm having a hard time to find out whats the measurement on it; is it CCB units per ms (1 each 1ms)?
I'd like to do some timing calculations...

Does anyone know with what kinda units the bullet speed run?

person icon
gree
Registered User
Quote
2022-12-15 01:09:11

@niko may I ask you to hop in ;) I guess only you know the answer... thanks

person icon
VP
Guest
Quote
2022-12-15 08:45:38

I don't think the units are pre-defined. In real-life, "time" is a (relative) constant - it's basically just a made up convention which is universally agreed upon so we can measure it and include it in calculations. In coppercube, you can change the scale (distance) and time (frame-rate) - so you can also make up your own timescales. In answer, to get round this in Coppercube, and make it more like real-world time - I think most users set a delta time to sync the movement to the framerate - I'm guessing you can set the deltatime to anything you want but I may be wrong.

person icon
Guest
Guest
Quote
2022-12-15 10:35:27

I too have a question that the shoot action and A.I movement speed has Delta time or not?

person icon
gree
Guest
Quote
2022-12-15 18:02:20

@VP thanks - will try my best to get some result :)


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |