I have a problem with my script, i want to let the user creating or not the property, but when the property is not used, blender give me an error (its normal). i have tried things like:
if "myprop" not in own:
own["myprop"] = MyValue
And
defaultValue = MyValue
value = own("myprop", defaultValue)
But nothing work, i allways get an error.
Maybe the second one can work, but i dont know how to use it correctly.
I have another question, my player use the Character physics, and in the physics menu, we have the Jump Force. I want to set the Jump Force in python, i know the function for doing this is:
jump_speed
But i dont know how tu use this:
GameObjectSettings(bpy_struct)
Thank you.