something is wrong with motion when i set the velocity ripple 10 a3. if i setVelocity it works exactly once and doesnt work anymore. it works again only if i do motion.getVelocity()
const OnMouseButton1Clicked = () => { if (!Active) return; //jelly_motion.getVelocity(); //if that line is commented, velocity works only once jelly_motion.setVelocity(50); SoundSystem.PlayLocalSoundFromName(SoundResources.ESoundName.UIClickButton); OnClick?.(); };
const OnMouseButton1Clicked = () => { if (!Active) return; //jelly_motion.getVelocity(); //if that line is commented, velocity works only once jelly_motion.setVelocity(50); SoundSystem.PlayLocalSoundFromName(SoundResources.ESoundName.UIClickButton); OnClick?.(); };