Holds an Actor, but only instantiates it when needed.
SharedPtr< client::Actor > Get(EpisodeProxy episode) const
Wrapper around the raw data generated by a sensor plus some useful meta-information.
Base class for all the objects containing data generated by a sensor.
const auto & GetEpisode() const
const geom::Vector3D & GetNormalImpulse() const
Normal impulse result of the collision.
geom::Vector3D _normal_impulse
SharedPtr< client::Actor > GetOtherActor() const
Get the actor to which we collided.
SharedPtr< client::Actor > GetActor() const
Get "self" actor. Actor that measured the collision.
client::detail::ActorVariant _self_actor
client::detail::ActorVariant _other_actor
CollisionEvent(const RawData &data)
Serializes the current state of the whole episode.
This file contains definitions of common data structures used in traffic manager.
std::shared_ptr< T > SharedPtr