Unravel Engine C++ Reference
|
#include <bullet_backend.h>
Public Member Functions | |
void | init () |
void | deinit () |
void | on_frame_update (rtti::context &ctx, delta_t dt) |
void | on_play_begin (rtti::context &ctx) |
void | on_play_end (rtti::context &ctx) |
void | on_pause (rtti::context &ctx) |
void | on_resume (rtti::context &ctx) |
void | on_skip_next_frame (rtti::context &ctx) |
Static Public Member Functions | |
static void | apply_explosion_force (physics_component &comp, float explosion_force, const math::vec3 &explosion_position, float explosion_radius, float upwards_modifier, force_mode mode) |
static void | apply_force (physics_component &comp, const math::vec3 &force, force_mode mode) |
static void | apply_torque (physics_component &comp, const math::vec3 &toruqe, force_mode mode) |
static void | clear_kinematic_velocities (physics_component &comp) |
static auto | ray_cast (const math::vec3 &origin, const math::vec3 &direction, float max_distance, int layer_mask, bool query_sensors) -> hpp::optional< raycast_hit > |
static auto | ray_cast_all (const math::vec3 &origin, const math::vec3 &direction, float max_distance, int layer_mask, bool query_sensors) -> physics_vector< raycast_hit > |
static auto | sphere_cast (const math::vec3 &origin, const math::vec3 &direction, float radius, float max_distance, int layer_mask, bool query_sensors) -> hpp::optional< raycast_hit > |
static auto | sphere_cast_all (const math::vec3 &origin, const math::vec3 &direction, float radius, float max_distance, int layer_mask, bool query_sensors) -> physics_vector< raycast_hit > |
static auto | sphere_overlap (const math::vec3 &origin, float radius, int layer_mask, bool query_sensors) -> physics_vector< entt::entity > |
static void | on_create_component (entt::registry &r, entt::entity e) |
static void | on_destroy_component (entt::registry &r, entt::entity e) |
static void | on_destroy_bullet_rigidbody_component (entt::registry &r, entt::entity e) |
static void | on_create_active_component (entt::registry &r, entt::entity e) |
static void | on_destroy_active_component (entt::registry &r, entt::entity e) |
static void | draw_system_gizmos (rtti::context &ctx, const camera &cam, gfx::dd_raii &dd) |
static void | draw_gizmo (rtti::context &ctx, physics_component &comp, const camera &cam, gfx::dd_raii &dd) |
Definition at line 19 of file bullet_backend.h.
|
static |
Definition at line 1859 of file bullet_backend.cpp.
|
static |
Definition at line 1919 of file bullet_backend.cpp.
|
static |
Definition at line 1936 of file bullet_backend.cpp.
|
static |
Definition at line 1953 of file bullet_backend.cpp.
void unravel::bullet_backend::deinit | ( | ) |
Definition at line 1790 of file bullet_backend.cpp.
|
static |
Definition at line 2188 of file bullet_backend.cpp.
|
static |
Definition at line 2172 of file bullet_backend.cpp.
void unravel::bullet_backend::init | ( | ) |
Definition at line 1784 of file bullet_backend.cpp.
|
static |
Definition at line 1829 of file bullet_backend.cpp.
|
static |
Definition at line 1795 of file bullet_backend.cpp.
|
static |
Definition at line 1844 of file bullet_backend.cpp.
|
static |
Definition at line 1818 of file bullet_backend.cpp.
|
static |
Definition at line 1807 of file bullet_backend.cpp.
void unravel::bullet_backend::on_frame_update | ( | rtti::context & | ctx, |
delta_t | dt ) |
Definition at line 2098 of file bullet_backend.cpp.
void unravel::bullet_backend::on_pause | ( | rtti::context & | ctx | ) |
Definition at line 2084 of file bullet_backend.cpp.
void unravel::bullet_backend::on_play_begin | ( | rtti::context & | ctx | ) |
Definition at line 2045 of file bullet_backend.cpp.
void unravel::bullet_backend::on_play_end | ( | rtti::context & | ctx | ) |
Definition at line 2064 of file bullet_backend.cpp.
void unravel::bullet_backend::on_resume | ( | rtti::context & | ctx | ) |
Definition at line 2088 of file bullet_backend.cpp.
void unravel::bullet_backend::on_skip_next_frame | ( | rtti::context & | ctx | ) |
Definition at line 2092 of file bullet_backend.cpp.
|
static |
Definition at line 1971 of file bullet_backend.cpp.
|
static |
Definition at line 1986 of file bullet_backend.cpp.
|
static |
Definition at line 2001 of file bullet_backend.cpp.
|
static |
Definition at line 2017 of file bullet_backend.cpp.
|
static |
Definition at line 2033 of file bullet_backend.cpp.