MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / handPosition

Method handPosition

source/game/items/StarActiveItem.cpp:340–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338}
339
340Vec2F ActiveItem::handPosition(Vec2F const& offset) const {
341 return armPosition(offset + owner()->handOffset(hand(), owner()->facingDirection()));
342}
343
344LuaCallbacks ActiveItem::makeActiveItemCallbacks() {
345 LuaCallbacks callbacks;

Callers

nothing calls this directly

Calls 2

handOffsetMethod · 0.45
facingDirectionMethod · 0.45

Tested by

no test coverage detected