Hi All,
I’m working on a blueprint that generates a grid of cubes to fill the bounds of a box. So far it’s all being done in the BP’s construction script. I have hit a problem when I turn on “simulate physics” on the cubes. As you can see in the images below, the boxes appear to be in the correct location relative to the boxGenerator actor placed in the scene…However, as soon as I press simulate/play the cubes move to the world origin as a group, and start falling from there (the green box is at the world origin).
I have no idea why this is happening - is it something I am doing wrong in regards to parenting the boxes to the actor once the are generated in the blueprint?
the components of the blueprint are:
ROOT(basic scene root component)
boundsPivot(another root component to act as a pivot point for the bounds cube)
bounds(the actual box object used to define the volume we want to fill with cubes)
my blueprint
this is where i place the actor in the scene (the green square is not part of the actor, its just sitting at the world origin)
this is where the boxes jump to, paused just after i hit simulate
Thanks all, any suggestions would be great