group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
gamemap::JumpPadSpawner Struct Reference

Jump pad authored in Blender (entity_type = 3). More...

#include <MapConfig.hpp>

Public Attributes

glm::vec3 pos {0.0f}
glm::vec3 velocity {0.0f, 1500.0f, 0.0f}
glm::vec3 halfExtents {48.0f, 24.0f, 48.0f}

Detailed Description

Jump pad authored in Blender (entity_type = 3).

Optional custom properties: jump_velocity_x, jump_velocity_y, jump_velocity_z (floats, units/s). If omitted, the runtime default in JumpPad::velocity is used (typically straight up). Optional half_extent_x/y/z set the trigger AABB half-size.

Member Data Documentation

◆ halfExtents

glm::vec3 gamemap::JumpPadSpawner::halfExtents {48.0f, 24.0f, 48.0f}

◆ pos

glm::vec3 gamemap::JumpPadSpawner::pos {0.0f}

◆ velocity

glm::vec3 gamemap::JumpPadSpawner::velocity {0.0f, 1500.0f, 0.0f}

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