Méthode | Description | |
---|---|---|
CreatePartialCompoundCollidable ( |
Constructs a compound collidable containing only the specified subset of children.
|
|
RemoveChildFromCompound ( |
Removes a child from a compound collidable.
|
|
RemoveChildFromCompound ( Entity |
Removes a child from a compound body.
|
|
RemoveChildFromCompound ( Entity |
Removes a child from a compound body.
|
|
SplitCompound ( bool>.Func |
Splits a single compound collidable into two separate compound collidables and computes information needed by the simulation.
|
|
SplitCompound ( IList |
Splits a single compound collidable into two separate compound collidables and computes information needed by the simulation.
|
|
SplitCompound ( IList |
Splits a single compound collidable into two separate compound collidables and computes information needed by the simulation.
|
|
SplitCompound ( IList |
Splits a single compound collidable into two separate compound collidables and computes information needed by the simulation.
|
Méthode | Description | |
---|---|---|
RemoveReposition ( Entity compound, |
||
SplitReposition ( Entity a, Entity b, |
public static CreatePartialCompoundCollidable ( |
||
shape | Shape to base the compound collidable on. | |
childIndices | IList |
Indices of child shapes from the CompoundShape to include in the compound collidable. |
Résultat |
public static RemoveChildFromCompound ( |
||
compound | Compound collidable to remove a child from. | |
removalPredicate | bool>.Func | Callback which analyzes a child and determines if it should be removed from the compound. |
childContributions | IList |
Distribution contributions from all shapes in the compound shape. This can include shapes which are not represented in the compound. |
distributionInfo | Distribution information of the new compound. | |
weight | float | Total weight of the new compound. |
removedWeight | float | Weight removed from the compound. |
removedCenter | System.Vector3 | Center of the chunk removed from the compound. |
Résultat | bool |
public static RemoveChildFromCompound ( Entity |
||
compound | Entity |
Original compound to have a child removed. |
removalPredicate | bool>.Func | Delegate which determines if a child in the original compound should be moved to the new compound. |
childContributions | IList |
List of distribution information associated with each child shape of the whole compound shape used by the compound being split. |
Résultat | bool |
public static RemoveChildFromCompound ( Entity |
||
compound | Entity |
Original compound to have a child removed. |
removalPredicate | bool>.Func | Delegate which determines if a child in the original compound should be moved to the new compound. |
childContributions | IList |
List of distribution information associated with each child shape of the whole compound shape used by the compound being split. |
distributionInfo | Volume, volume distribution, and center information about the new form of the original compound collidable. | |
Résultat | bool |
public static SplitCompound ( bool>.Func |
||
splitPredicate | bool>.Func | Delegate which determines if a child in the original compound should be moved to the new compound. |
a | Entity |
Original compound to be split. Children in this compound will be removed and added to the other compound. |
b | Entity |
Compound to receive children removed from the original compound. |
Résultat | bool |
public static SplitCompound ( IList |
||
childContributions | IList |
List of distribution information associated with each child shape of the whole compound shape used by the compound being split. |
splitPredicate | bool>.Func | Delegate which determines if a child in the original compound should be moved to the new compound. |
a | Original compound to be split. Children in this compound will be removed and added to the other compound. | |
b | Compound to receive children removed from the original compound. | |
distributionInfoA | Volume, volume distribution, and center information about the new form of the original compound collidable. | |
distributionInfoB | Volume, volume distribution, and center information about the new compound collidable. | |
weightA | float | Total weight associated with the new form of the original compound collidable. |
weightB | float | Total weight associated with the new compound collidable. |
Résultat | bool |
public static SplitCompound ( IList |
||
childContributions | IList |
List of distribution information associated with each child shape of the whole compound shape used by the compound being split. |
splitPredicate | bool>.Func | Delegate which determines if a child in the original compound should be moved to the new compound. |
a | Entity |
Original compound to be split. Children in this compound will be removed and added to the other compound. |
b | Entity |
Compound to receive children removed from the original compound. |
Résultat | bool |
public static SplitCompound ( IList |
||
childContributions | IList |
List of distribution information associated with each child shape of the whole compound shape used by the compound being split. |
splitPredicate | bool>.Func | Delegate which determines if a child in the original compound should be moved to the new compound. |
a | Entity |
Original compound to be split. Children in this compound will be removed and added to the other compound. |
b | Entity |
Compound to receive children removed from the original compound. |
distributionInfoA | Volume, volume distribution, and center information about the new form of the original compound collidable. | |
distributionInfoB | Volume, volume distribution, and center information about the new compound collidable. | |
Résultat | bool |