Aller au contenu principal

Recherche

Input that adds / subtracts to velocity, with a minimum and maximum velocity?

  • mmdev1 - John & Luci

    Hi,

    There is a maths gadget where you can subract or add numbers together, and put that result into the speed of a mover.

    John

  • davidnorth100

    I've had a similar problem. The issue is storing a value that can be modified over time. I used a variable for this but it isn't quite what variables were intended for. It works fine though. Your value for R2 would go into a variable modifier to increase the speed value. You'd probably need to scale it down with a calculator. Variables have their own max and min so you shouldn't need checks to avoid exceeding those.
    You can also use a value slider as a way to store a value with a max and min. You would wire the set value input to the current value plus the increment calculated from R2. On the dreamiverse there is a local variable chip that helps with this.

  • davidnorth100

    Let me know if you're stuck, I could share a quick implementation of this later.

  • Professor_Logray

    Thanks for these suggestions, I will see if I can implement them!

Vous devez vous connecter pour laisser un commentaire.