Hi there, I am working on an fps project in which the Character can throw
objects. I have created a state management system for anything that would be throwable
as shown below:
Then I have create a resource class called Throwables
which just contains some basic config
And since this is how my scene actually looks like:
I have attached to it a init script which should simply handle the existence of the throwable and it's initialization in the world, but this is where the problem comes to light, because it does not get initialized... and I have zero clues as to why.
When I execute the code I get the error: "Throwable data is not assigned! Make sure to assign the Throwables resource to this object." and upon trying printing the throwable_data
I only gety <nil>
What am I doing wrong?