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

Method aimPosition

source/game/StarNpc.cpp:997–999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

995}
996
997Vec2F Npc::aimPosition() const {
998 return world()->geometry().xwrap(Vec2F(m_xAimPosition.get(), m_yAimPosition.get()) + position());
999}
1000
1001float Npc::interactRadius() const {
1002 return 9999;

Callers 15

setDungeonIdMethod · 0.45
spawnItemMethod · 0.45
spawnTreasureMethod · 0.45
spawnMonsterMethod · 0.45
spawnNpcMethod · 0.45
spawnVehicleMethod · 0.45
spawnStagehandMethod · 0.45
clearStagehandMethod · 0.45
spawnLiquidMethod · 0.45
entityEvalMethod · 0.45
placeDungeonMethod · 0.45
addBiomeRegionMethod · 0.45

Calls 3

xwrapMethod · 0.45
geometryMethod · 0.45
getMethod · 0.45

Tested by 2

updateMethod · 0.36
lightSourcesMethod · 0.36