How to: move a static mesh between a set of random points?
Hi. I am new to blueprints. I am learning by trying to make a simple VR experience in which 360 Video Spheres appear to be floating around a small level.
Here is an image of what I want to achieve: https://imgur.com/a/1JaVa
The black circle is the 360 video sphere (which I have already created). I just need to figure out how to use blueprints to achieve the movement.
I have tried using TargetPoints and SetActorLocation but am unable to figure out the precise scripting order. I am also new to programming so I am unsure how to approach this.
Perhaps it would be smart to create a node that generates a set of random points each time the level is loaded, and then have the sphere move in between each point, slowly. I do not know how to code this, however. Any help would be appreciated!
asked Sep 26 '17 at 09:41 PM in Blueprint Scripting
One lesson I learn as a programmer was to first simply ones objective and then gradually add on complexity to achieve the required result.
Step 1) Can you move the sphere in a linear fashion between two points 2) Can you move the sphere in a sinusoidal fashion between two points 3) Can you create a random trajectory between two points confined to some volumetric bound 4) Can you create an array that can hold a Transform data type with the random trajectory 5) How many data points would you need to generate a smooth flowing animation
Break down your work flow in tasks like the above example.
answered Sep 27 '17 at 02:58 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here