Location isn't recalculated for moved entities
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cyphesis |
Fix Committed
|
Undecided
|
Erik Ogenvik |
Bug Description
When an entity is moved on the client the location isn't recalculated. As an example, if a pig is inside the sty but is moved by the client to somewhere else, it will still have the sty as it's location.
The code in Ember which places the entity is as follows:
void ConnectedAdapte
{
Atlas:
what-
what-
what-
what-
Atlas:
moveOp-
moveOp-
if (mAvatar-
moveOp-
}
mConnection-
}
If "what->setLoc(...)" is omitted the server will reject the operation (which is expected since else it must have the location in order to know the space in which the position and orientation operates).
I'm guessing the fix would be to add an extra location check whenever something is moved.
Changed in cyphesis: | |
assignee: | nobody → Erik Ogenvik (erik-ogenvik) |
status: | New → Fix Committed |