So I’m trying to this gondola prefab to move towards a building but it’s doing This
Does anybody know how to make it move a little more smootly?
Ps- don’t worry about the gravity modifiers, that was for an experiment that failed horribly. The prefab is on phased so it shouldn’t interact with the modifiers in any way.
Does the script move it once, or is it repeating multiple movements?
If you’re doing just one movement, you could try multiple movements. One way you could make it work is by having a timer script that increases a value every second, and then have a script on the gondola that moves it every time that value is changed, and the value is above 1. Then you could prevent it from moving by having a script that changes the value to 0, if it have been changed to 1. So you would start the movement by changing the value to 2, and stop it by changing the value to 0.
I know that the structure is phased, but to me it still seamed to be glitched movement from the gravity slides…if u still are having troubles try a repeated moment of multiple scripts for a smoother transition.
> 2535420681875778;3:
> I know that the structure is phased, but to me it still seamed to be glitched movement from the gravity slides…if u still are having troubles try a repeated moment of multiple scripts for a smoother transition.
I removed the slides but it didn’t have any affect, I’ll just have to all the scripts to what the first guy said. Problem is that I’m not that great with scripting so I’m gonna see if my friend can try it first. That or youtube can tell me how.
Have you tried moving the object on a non-local basis ? Set the pivot point to a flat object then in the scripts under its movement script theres an option called ‘Local movement’ or something, toggle that.
If that doesn’t work try setting up a separate object that spawns when you press the button, then have that object use a timer to set all objects with the label ‘Zulu’ to move (enter Distance value) every 5th of a second, see if its smooth then adjust the values.
Go back to the grouped object you want to move then go to the labels tab, go left once there u will find label zulu. Now add another script to the object with the timer movement script to ‘On spawn’ – ‘Wait’ *desired time – Despawn. Go down the list on the timer script and where it says ‘Always on’ turn that off so that the timer doesn’t work when the object is despawned.