Declaration
func AddForce(target PhysicalObject, force Vector3, forceMode ForceType)
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Target | PhysicalObject | Target physical object |
| Force | Vector3 | Force Vector |
| ForceMode | ForceType | Type of force |
Apply a force to the target. The target must be a physical object.
func AddForce(target PhysicalObject, force Vector3, forceMode ForceType)
go
| Name | Type | Description |
|---|---|---|
| Target | PhysicalObject | Target physical object |
| Force | Vector3 | Force Vector |
| ForceMode | ForceType | Type of force |