itch.io is community of indie game creators and players

Devlogs

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

Party Panic!
A downloadable game for Windows

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!

Download Party Panic!
Leave a comment