110 "attempting to destroy an actor that is already dead:",
void SetSimulatePhysics(bool enabled=true)
Enable or disable physics simulation on this actor.
void SetActorDead()
Set actor as dead and starts his life span.
rpc::ActorState GetActorState() const
geom::Vector3D GetAcceleration() const
Return the current 3D acceleration of the actor.
void SetCollisions(bool enabled=true)
Enable or disable collisions on this actor.
void AddForce(const geom::Vector3D &force)
Add force to the actor at its center of mass.
This file contains definitions of common data structures used in traffic manager. ...
EpisodeProxy & GetEpisode()
void SetTransform(const geom::Transform &transform)
Teleport and rotate the actor to transform.
void AddAngularImpulse(const geom::Vector3D &vector)
Add angular impulse to the actor.
const std::string & GetDisplayId() const
void AddImpulse(const geom::Vector3D &vector)
Add impulse to the actor at its center of mass.
virtual bool Destroy()
Tell the simulator to destroy this Actor, and return whether the actor was successfully destroyed...
geom::Vector3D GetAngularVelocity() const
Return the current 3D angular velocity of the actor.
geom::Transform GetTransform() const
Return the current transform of the actor.
void SetTargetAngularVelocity(const geom::Vector3D &vector)
Set the angular velocity of the actor before applying physics.
static void log_warning(Args &&... args)
geom::Location GetLocation() const
Return the current location of the actor.
void SetLocation(const geom::Location &location)
Teleport the actor to location.
void SetTargetVelocity(const geom::Vector3D &vector)
Set the actor velocity before applying physics.
geom::Vector3D GetVelocity() const
Return the current 3D velocity of the actor.
void EnableConstantVelocity(const geom::Vector3D &vector)
Enable a constant velocity mode.
SharedPtrType Lock() const
Same as TryLock but never return nullptr.
void SetEnableGravity(bool enabled=true)
Enable or disable gravity on this actor.
void AddTorque(const geom::Vector3D &vector)
Add a torque to the actor.
void DisableConstantVelocity()
Disable the constant velocity mode.