"Display Number" Gadget to Display Speed of Emitted Object - Help Please
I have an object that is being emitted. The emitted objects speed is randomized to create variability in my game. I want that speed to be displayed on screen so that the player can see it/ react to it. Think Baseball/ Cricket broadcasts that display the speed of the pitch/ ball after it is pitched/ bowled.
I am running into an issue where I can only get the speed to display the *instant* that the object emits, and not stay on screen until the next object is emitted. Here is a link to a video showing the logic I currently have set up.
https://youtu.be/GSHXLBCo8KI
As you can see, the speed sort of "flashes" on screen when the object is emitted, but does not stick around like I want it to.
How do I get the Display Number Gadget to display this variable for 2 seconds, or 3 seconds, or until it is updated again? Instead of just appearing on the frame the object is emitted.
-
This is happening because if the emitter isn’t powered then all outputs will output 0. So one thing you could do is use the freeze value function in the remapper to freeze the speed every time an object is emitted.
You will have to reset the remapper each time you want to change its number but you can do this by momentarily powering it off.
Hope this helps :) Peter
請登入寫評論。