I have an entity named 'bored1' (its a wooden plank lol). I want it to have 'StaticPhysics' but when you click on it, it becomes non-static. I just don't know the function for that so
it'd be appreciated to help!
thanks
You can't interact with static objects, only entities. To get around this, create a script area that fits and wraps around the board. Name it "board_area". Under the Area tab, fill in the field 'PlayerInteractCallback' with "BoardPhysicsOn". Make sure PlayerInteractCallbackAutoRemove is checked.
In your script, put this function
void BoardPhysicsOn(string &in entity)
{
SetPropStaticPhysics("bored1", false);
SetEntityInteractionDisabled("board_area", true);
}