|Import Statement:||import VPlay 2.0|
The RubeBody represents a Box2D body as defined in the JSON file from the RUBE level editor. Don't create objects of this component on your own. Instead, let the RubeParser do this with its RubeManager.
customProperties : variant
Contains the custom properties from the RUBE JSON as object. E.g. customProperties["qmlType"] = "RubeBody"
The RubeParser emits this signal after the internal initialization is finished. This signal allows you to react to a finished RUBE object. For example, you can search the custom properties for a reset position and move your Object to it.
This function forwards the call to the ColliderBase::applyLinearImpulse.
Voted #1 for: