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

Registration record for a named game piece type. More...

#include <ball_gamepiece_sim.hpp>

Public Attributes

GamePieceType type {GamePieceType::kBall}
BallPhysicsSim3D::Config physics_config {}
BallPhysicsSim3D::BallProperties ball_properties {}
bool spawn_on_ground_after_projectile {true}

Detailed Description

Registration record for a named game piece type.

Member Data Documentation

◆ ball_properties

BallPhysicsSim3D::BallProperties frcsim::BallGamepieceSim::GamePieceInfo::ball_properties {}

Ball properties used when this type is materialized as a grounded ball.

◆ physics_config

BallPhysicsSim3D::Config frcsim::BallGamepieceSim::GamePieceInfo::physics_config {}

Physics configuration used when this type is materialized as a grounded ball.

◆ spawn_on_ground_after_projectile

bool frcsim::BallGamepieceSim::GamePieceInfo::spawn_on_ground_after_projectile {true}

Whether projectile touchdown should spawn a grounded ball for this type.

◆ type

GamePieceType frcsim::BallGamepieceSim::GamePieceInfo::type {GamePieceType::kBall}

Unique gamepiece type key.


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