public class AutoTraceRayMessage.AutoTraceRayLocalMessage extends AutoTraceRayLocal
SimTime
Constructor and Description |
---|
AutoTraceRayMessage.AutoTraceRayLocalMessage() |
Modifier and Type | Method and Description |
---|---|
AutoTraceRayMessage.AutoTraceRayLocalMessage |
clone() |
cz.cuni.amis.pogamut.base3d.worldview.object.Location |
getFrom()
Location from which the ray is emitted.
|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getHitId()
Id of the actor we have hit.
|
cz.cuni.amis.pogamut.base3d.worldview.object.Location |
getHitLocation()
Vector with location of the collision (not sent if FastTrace
is True).
|
javax.vecmath.Vector3d |
getHitNormal()
Vector with normal of the plane we have hit (not sent if
FastTrace is True).
|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getId()
An Id for this ray (should be unique), assigned by the user
when adding ray.
|
AutoTraceRayMessage.AutoTraceRayLocalMessage |
getLocal() |
cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObject |
getShared() |
cz.cuni.amis.pogamut.multi.communication.worldview.object.IStaticWorldObject |
getStatic() |
cz.cuni.amis.pogamut.base3d.worldview.object.Location |
getTo()
Location to which the ray is sent.
|
boolean |
isFastTrace()
True if it is a fast trace, false if not (fast trace is a
bit faster version of UT2004 ray trace - but provides us
with less information - just true/false if we hit something
on the way or not).
|
boolean |
isFloorCorrection()
If we should correct ray directions accoring floor normal.
|
boolean |
isResult()
True if it hit something, false if not.
|
boolean |
isTraceActors()
If we traced also actors with this ray (actors – moving
things in a game – bots, players, monsters, pickup …) (only
if NOT using FastTrace)
|
String |
toHtmlString() |
String |
toString() |
getCompositeClass, getSimTime, setSimTime
public AutoTraceRayMessage.AutoTraceRayLocalMessage()
public AutoTraceRayMessage.AutoTraceRayLocalMessage clone()
clone
in interface cz.cuni.amis.pogamut.multi.communication.worldview.object.ILocalWorldObject
clone
in class AutoTraceRayLocal
public AutoTraceRayMessage.AutoTraceRayLocalMessage getLocal()
getLocal
in class AutoTraceRayLocal
public cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObject getShared()
getShared
in class AutoTraceRayLocal
public cz.cuni.amis.pogamut.multi.communication.worldview.object.IStaticWorldObject getStatic()
getStatic
in class AutoTraceRayLocal
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
getId
in interface cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject
getId
in class AutoTraceRayLocal
public cz.cuni.amis.pogamut.base3d.worldview.object.Location getFrom()
getFrom
in class AutoTraceRayLocal
public cz.cuni.amis.pogamut.base3d.worldview.object.Location getTo()
getTo
in class AutoTraceRayLocal
public boolean isFastTrace()
isFastTrace
in class AutoTraceRayLocal
public boolean isFloorCorrection()
isFloorCorrection
in class AutoTraceRayLocal
public boolean isResult()
isResult
in class AutoTraceRayLocal
public javax.vecmath.Vector3d getHitNormal()
getHitNormal
in class AutoTraceRayLocal
public cz.cuni.amis.pogamut.base3d.worldview.object.Location getHitLocation()
getHitLocation
in class AutoTraceRayLocal
public boolean isTraceActors()
isTraceActors
in class AutoTraceRayLocal
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getHitId()
getHitId
in class AutoTraceRayLocal
public String toString()
toString
in class AutoTraceRayLocal
public String toHtmlString()
toHtmlString
in class AutoTraceRayLocal
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.