35 geom::Transform Actor::GetComponentWorldTransform(
const std::string componentName)
const {
36 return GetEpisode().
Lock()->GetActorComponentWorldTransform(*
this, componentName);
39 geom::Transform Actor::GetComponentRelativeTransform(
const std::string componentName)
const {
40 return GetEpisode().
Lock()->GetActorComponentRelativeTransform(*
this, componentName);
43 std::vector<geom::Transform> Actor::GetBoneWorldTransforms()
const {
47 std::vector<geom::Transform> Actor::GetBoneRelativeTransforms()
const {
51 std::vector<std::string> Actor::GetComponentNames()
const {
55 std::vector<std::string> Actor::GetBoneNames()
const {
59 std::vector<geom::Transform> Actor::GetSocketWorldTransforms()
const {
63 std::vector<geom::Transform> Actor::GetSocketRelativeTransforms()
const {
64 return GetEpisode().
Lock()->GetActorSocketRelativeTransforms(*
this);
67 std::vector<std::string> Actor::GetSocketNames()
const {
91 void Actor::DisableConstantVelocity() {
119 void Actor::SetSimulatePhysics(
const bool enabled) {
123 void Actor::SetCollisions(
const bool enabled) {
127 void Actor::SetActorDead() {
131 void Actor::SetEnableGravity(
const bool enabled) {
139 bool Actor::Destroy() {
146 "attempting to destroy an actor that is already dead:",
rpc::ActorState GetActorState() const
EpisodeProxy & GetEpisode()
const std::string & GetDisplayId() const
SharedPtrType Lock() const
Same as TryLock but never return nullptr.
This file contains definitions of common data structures used in traffic manager.
static void log_warning(Args &&... args)