SetEntityAttribute()
Syntax
SetEntityAttribute(#Entity, Attribute, Value)Description
Set the specified attribute value of the joint associated to the given entity.
Parameters
#Entity The entity to use. Attribute The attribute to set. Value Value of the attribute to set. The following attributes are available: #PB_Entity_Friction : Change the friction value. #PB_Entity_Restitution : Change the restitution value. #PB_Entity_MaxVelocity : Set the maximum linear velocity of the entity. As it doesn't store the value, it needs to be called every time the entity is moved.
Return value
This function has no return value.
See Also
GetEntityAttribute()
Supported OS
All