| 232 | } |
| 233 | |
| 234 | void IKController::Joint::UpdateWorldSRT() |
| 235 | { |
| 236 | Spatial const* parent = object->GetParent(); |
| 237 | if (parent) |
| 238 | { |
| 239 | object->worldTransform = parent->worldTransform * object->localTransform; |
| 240 | } |
| 241 | else |
| 242 | { |
| 243 | object->worldTransform = object->localTransform; |
| 244 | } |
| 245 | } |
| 246 | |
| 247 | void IKController::Joint::UpdateWorldRT() |
| 248 | { |