diff --git a/src/level_gen.cpp b/src/level_gen.cpp index e550efff1..30c01467e 100755 --- a/src/level_gen.cpp +++ b/src/level_gen.cpp @@ -318,6 +318,13 @@ void createPaddingEntities(Engine &ctx) { } auto &self_obs = ctx.get(agent_iface); self_obs = SelfObservation::zero(); + + auto &abs_self_obs = ctx.get(agent_iface); + abs_self_obs.position = Vector3::zero(); + abs_self_obs.rotation = AbsoluteRotation{.rotationAsQuat = Quat{1, 0, 0, 0}, .rotationFromAxis = 0}; + abs_self_obs.goal = Goal{.position = {0, 0}}; + abs_self_obs.vehicle_size = VehicleSize{.length = 0, .width = 0, .height = 0}; + abs_self_obs.id = -1.0f; auto &partner_obs = ctx.get(agent_iface); for (CountT i = 0; i < consts::kMaxAgentCount-1; i++) {