JSim 2026.06.01-p(1)
Loading...
Searching...
No Matches
frcsim::BallGamepieceSim::BallEntity Struct Reference

Grounded game piece entity with its own ball physics instance. More...

#include <ball_gamepiece_sim.hpp>

Public Attributes

BallPhysicsSim3D sim {}
bool scored_in_net {false}
bool sleeping {false}
int sleep_frame_count {0}

Detailed Description

Grounded game piece entity with its own ball physics instance.

Member Data Documentation

◆ scored_in_net

bool frcsim::BallGamepieceSim::BallEntity::scored_in_net {false}

True once this ball has entered a configured net volume.

◆ sim

BallPhysicsSim3D frcsim::BallGamepieceSim::BallEntity::sim {}

Per-ball physics simulator state.

◆ sleep_frame_count

int frcsim::BallGamepieceSim::BallEntity::sleep_frame_count {0}

Number of consecutive sleep-eligible frames observed.

◆ sleeping

bool frcsim::BallGamepieceSim::BallEntity::sleeping {false}

True when this ball is currently sleeping.


The documentation for this struct was generated from the following file: