Any way to have props move each round

They will be used as obstacles, but I don’t want them to be in exactly the same place every run. I figured there would be a way to spawn items at a random location withing a volume, but that doesn’t seem to be a thing. Any thoughts?

Hello, Welcome to the Forums.

Good question, it might be possible with the Prop Manipulator (Show/Hide Functions) and a Random Number Generator Device - but this seems like a straightforward / simple thing to develop with Verse or SceneGraph.

I have thoughts on 2 different directions:

  1. Easier - Create a device that references an array of meshes(obstacles) - You place several obstacles in one area and reference each of them with the device. (You’d have separate devices for each obstacle area) - All of these obstacles are hidden/noncollidable by default Then - when a round/run begins, it chooses a random obstacle from that array to show.
  2. Harder - Volume idea - You can GetTransform on a Volume device - using that info (Location, Rotation, Scale) you could calculate a random point in that volume. Then maybe ray-cast downwards to hit the ground + spawn an obstacle mesh at that point.

Happy to offer guidance in either path.