Method GetWeightedBoundsForMember
GetWeightedBoundsForMember(int)
Get the bounding sphere of a group member, with the weight taken into account. As the member's weight goes to 0, the position interpolates to the group average position. Note that this result is only valid after DoUpdate has been called. If members are added or removed after that call or change their weights or active state, this will not necessarily return correct information before the next update.
Declaration
public BoundingSphere GetWeightedBoundsForMember(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index | Member index |
Returns
Type | Description |
---|---|
BoundingSphere | The weighted bounding sphere |