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?
|
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
|
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.
|
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?
|
gree Guest |
Quote
|
2022-12-15 18:02:20 |
|
@VP thanks - will try my best to get some result :)
|