I have an object that contains a Fixture. in my constructor for that object I have a line:
moduleFixture.UserData = this;
I believe that this is how I would set the fixtures UserData to the current object.
The problem Im having is when I try to access the data. I need to have an on collision event check that a variable in one of the colliding physics bodies associated objects is set to true.
I would expect that you would use something like:
But Visual studio says you cant access the function "VariableIsTrue()" like that.