Whitaker: Double check all components When setting up actor locations!


03/18/2023

My main issue was when I spawned the dice block using player input. The dice block would stay at 0,0,0 in the world! I tried setting up different root components and made sure everything was set to movable. I tried examples of using different objects instead of the dice. They worked too which was really frustrating. Finally, I figured the main issue was having the actor component attached to my dice. Research proved to provide very little help on the matter.
Turns out, I was setting the location of the owner of the actor component to 0,0,0 in the components tick function! this was due to some other functionality that was setup improperly for the given context. After making a fresh class that only had the functionality I actually needed for this context, we were able to spawn the dice wherever I wanted!

Get Party Panic!

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.