Revision a733dd00 src/connection.cpp
| b/src/connection.cpp | ||
|---|---|---|
| 59 | 59 |
if (active()) |
| 60 | 60 |
{
|
| 61 | 61 |
Vector3 connVec = src_->getPosition() - snk_->getPosition(); |
| 62 |
Vector3 snkDir = snk_->getOrientation() * Vector3(0.0, 1.0, 0.0); |
|
| 62 |
//Vector3 snkDir = snk_->getOrientation() * Vector3(0.0, 1.0, 0.0);
|
|
| 63 | 63 |
|
| 64 | 64 |
// Rotate connVec by the negative of the rotation described by the snk's |
| 65 | 65 |
// orientation. To do this, just flip the sign of the quat.w: |
Also available in: Unified diff