12 #include "CollisionSensor.generated.h" 29 void SetOwner(
AActor *NewOwner)
override;
34 void OnCollisionEvent(
37 FVector NormalImpulse,
38 const FHitResult &Hit);
The game instance contains elements that must be kept alive in between levels.
A definition of a Carla Actor with all the variation and attributes.
std::vector< std::tuple< uint64_t, AActor *, AActor * > > CollisionRegistry
Registry that saves all collisions.
carla::SharedPtr< cc::Actor > Actor
A sensor to register collisions.