Aligning CollisionBox and ArrowComponent to Mesh side
I've created an Actor called "FloorActor" to represent generated floor meshes in my level. The design is similar to "Endless runner" game in the tutorials, though my meshes are scaled randomly. I've also created a scale function inside the FloorActor class to handle scaling:
My GameMode blueprint handles creating the first floor under the DefaultSceneRoot and scaling the created floor randomly. I haven't created any generator for further floors as I don't know where to place them in my world:
Am I able to attach and align a CollisionBox and Arrow Components as I am scaling the floor? The alignment should look like this:
This is for my GameMode to know when my character enters a certain floor, thus creating a new floor ahead and destroying the passed floor.
Any help and even design suggestions are greatly appreciated.
Follow this question
Once you sign in you will be able to subscribe for any updates here