Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: nabilfx on June 20, 2019, 11:26:49 AM
-
how can i do a Random position, and random rotation of an object, slow moving?
in a loop
-
Hi.
You can use random float for each direction (x,y,z)
if you want it from a list of preset vector 3's
Then you can use 'Select Random Vector3' or you an array and random array.
Same for position and rotation.
-
here example
-
Hi.
Random same as on my 1st post, but set them as new position.
Then use 'Vector 3 Interpolate' the 1st vector is old position,
Then 2nd vector new position.
When finished,
use 'set vector 3' set 'new position' to 'old position'
loop back to get new random.
Same for rotation on a separate fsm
You can even randomize time to do the interpolate.
-
I have 8 object, i need all of them in diferent random position and rotation loop, very slow and very short movement. Can u help me do that eith fsm.