pub struct BulletPhysicsServer { /* private fields */ }Expand description
core class BulletPhysicsServer inherits PhysicsServer (unsafe).
§Official documentation
See the documentation of this class in the Godot engine’s official documentation.
§Feature flag
This type is behind the gdnative crate’s physics feature flag.
§Class hierarchy
BulletPhysicsServer inherits methods from:
Implementations§
Source§impl BulletPhysicsServer
impl BulletPhysicsServer
Sourcepub unsafe fn shape_create(&mut self, _type: i64) -> Rid
pub unsafe fn shape_create(&mut self, _type: i64) -> Rid
Inherited from PhysicsServer.
Sourcepub unsafe fn shape_set_data(&mut self, shape: Rid, data: Variant)
pub unsafe fn shape_set_data(&mut self, shape: Rid, data: Variant)
Inherited from PhysicsServer.
Sourcepub unsafe fn shape_get_type(&self, shape: Rid) -> PhysicsServerShapeType
pub unsafe fn shape_get_type(&self, shape: Rid) -> PhysicsServerShapeType
Inherited from PhysicsServer.
Sourcepub unsafe fn shape_get_data(&self, shape: Rid) -> Variant
pub unsafe fn shape_get_data(&self, shape: Rid) -> Variant
Inherited from PhysicsServer.
Sourcepub unsafe fn space_create(&mut self) -> Rid
pub unsafe fn space_create(&mut self) -> Rid
Inherited from PhysicsServer.
Sourcepub unsafe fn space_set_active(&mut self, space: Rid, active: bool)
pub unsafe fn space_set_active(&mut self, space: Rid, active: bool)
Inherited from PhysicsServer.
Sourcepub unsafe fn space_is_active(&self, space: Rid) -> bool
pub unsafe fn space_is_active(&self, space: Rid) -> bool
Inherited from PhysicsServer.
Sourcepub unsafe fn space_set_param(&mut self, space: Rid, param: i64, value: f64)
pub unsafe fn space_set_param(&mut self, space: Rid, param: i64, value: f64)
Inherited from PhysicsServer.
Sourcepub unsafe fn space_get_param(&self, space: Rid, param: i64) -> f64
pub unsafe fn space_get_param(&self, space: Rid, param: i64) -> f64
Inherited from PhysicsServer.
Sourcepub unsafe fn space_get_direct_state(
&mut self,
space: Rid,
) -> Option<PhysicsDirectSpaceState>
pub unsafe fn space_get_direct_state( &mut self, space: Rid, ) -> Option<PhysicsDirectSpaceState>
Inherited from PhysicsServer.
Sourcepub unsafe fn area_create(&mut self) -> Rid
pub unsafe fn area_create(&mut self) -> Rid
Inherited from PhysicsServer.
Sourcepub unsafe fn area_set_space(&mut self, area: Rid, space: Rid)
pub unsafe fn area_set_space(&mut self, area: Rid, space: Rid)
Inherited from PhysicsServer.
Sourcepub unsafe fn area_get_space(&self, area: Rid) -> Rid
pub unsafe fn area_get_space(&self, area: Rid) -> Rid
Inherited from PhysicsServer.
Sourcepub unsafe fn area_set_space_override_mode(&mut self, area: Rid, mode: i64)
pub unsafe fn area_set_space_override_mode(&mut self, area: Rid, mode: i64)
Inherited from PhysicsServer.
Sourcepub unsafe fn area_get_space_override_mode(
&self,
area: Rid,
) -> PhysicsServerAreaSpaceOverrideMode
pub unsafe fn area_get_space_override_mode( &self, area: Rid, ) -> PhysicsServerAreaSpaceOverrideMode
Inherited from PhysicsServer.
Sourcepub unsafe fn area_add_shape(
&mut self,
area: Rid,
shape: Rid,
transform: Transform,
)
pub unsafe fn area_add_shape( &mut self, area: Rid, shape: Rid, transform: Transform, )
Inherited from PhysicsServer.
Sourcepub unsafe fn area_set_shape(&mut self, area: Rid, shape_idx: i64, shape: Rid)
pub unsafe fn area_set_shape(&mut self, area: Rid, shape_idx: i64, shape: Rid)
Inherited from PhysicsServer.
Sourcepub unsafe fn area_set_shape_transform(
&mut self,
area: Rid,
shape_idx: i64,
transform: Transform,
)
pub unsafe fn area_set_shape_transform( &mut self, area: Rid, shape_idx: i64, transform: Transform, )
Inherited from PhysicsServer.
Sourcepub unsafe fn area_get_shape_count(&self, area: Rid) -> i64
pub unsafe fn area_get_shape_count(&self, area: Rid) -> i64
Inherited from PhysicsServer.
Sourcepub unsafe fn area_get_shape(&self, area: Rid, shape_idx: i64) -> Rid
pub unsafe fn area_get_shape(&self, area: Rid, shape_idx: i64) -> Rid
Inherited from PhysicsServer.
Sourcepub unsafe fn area_get_shape_transform(
&self,
area: Rid,
shape_idx: i64,
) -> Transform
pub unsafe fn area_get_shape_transform( &self, area: Rid, shape_idx: i64, ) -> Transform
Inherited from PhysicsServer.
Sourcepub unsafe fn area_remove_shape(&mut self, area: Rid, shape_idx: i64)
pub unsafe fn area_remove_shape(&mut self, area: Rid, shape_idx: i64)
Inherited from PhysicsServer.
Sourcepub unsafe fn area_clear_shapes(&mut self, area: Rid)
pub unsafe fn area_clear_shapes(&mut self, area: Rid)
Inherited from PhysicsServer.
Sourcepub unsafe fn area_set_collision_layer(&mut self, area: Rid, layer: i64)
pub unsafe fn area_set_collision_layer(&mut self, area: Rid, layer: i64)
Inherited from PhysicsServer.
Sourcepub unsafe fn area_set_collision_mask(&mut self, area: Rid, mask: i64)
pub unsafe fn area_set_collision_mask(&mut self, area: Rid, mask: i64)
Inherited from PhysicsServer.
Sourcepub unsafe fn area_set_param(&mut self, area: Rid, param: i64, value: Variant)
pub unsafe fn area_set_param(&mut self, area: Rid, param: i64, value: Variant)
Inherited from PhysicsServer.
Sourcepub unsafe fn area_set_transform(&mut self, area: Rid, transform: Transform)
pub unsafe fn area_set_transform(&mut self, area: Rid, transform: Transform)
Inherited from PhysicsServer.
Sourcepub unsafe fn area_get_param(&self, area: Rid, param: i64) -> Variant
pub unsafe fn area_get_param(&self, area: Rid, param: i64) -> Variant
Inherited from PhysicsServer.
Sourcepub unsafe fn area_get_transform(&self, area: Rid) -> Transform
pub unsafe fn area_get_transform(&self, area: Rid) -> Transform
Inherited from PhysicsServer.
Sourcepub unsafe fn area_attach_object_instance_id(&mut self, area: Rid, id: i64)
pub unsafe fn area_attach_object_instance_id(&mut self, area: Rid, id: i64)
Inherited from PhysicsServer.
Sourcepub unsafe fn area_get_object_instance_id(&self, area: Rid) -> i64
pub unsafe fn area_get_object_instance_id(&self, area: Rid) -> i64
Inherited from PhysicsServer.
Sourcepub unsafe fn area_set_monitor_callback(
&mut self,
area: Rid,
receiver: Option<Object>,
method: GodotString,
)
pub unsafe fn area_set_monitor_callback( &mut self, area: Rid, receiver: Option<Object>, method: GodotString, )
Inherited from PhysicsServer.
Sourcepub unsafe fn area_set_area_monitor_callback(
&mut self,
area: Rid,
receiver: Option<Object>,
method: GodotString,
)
pub unsafe fn area_set_area_monitor_callback( &mut self, area: Rid, receiver: Option<Object>, method: GodotString, )
Inherited from PhysicsServer.
Sourcepub unsafe fn area_set_monitorable(&mut self, area: Rid, monitorable: bool)
pub unsafe fn area_set_monitorable(&mut self, area: Rid, monitorable: bool)
Inherited from PhysicsServer.
Sourcepub unsafe fn area_set_ray_pickable(&mut self, area: Rid, enable: bool)
pub unsafe fn area_set_ray_pickable(&mut self, area: Rid, enable: bool)
Inherited from PhysicsServer.
Sourcepub unsafe fn area_is_ray_pickable(&self, area: Rid) -> bool
pub unsafe fn area_is_ray_pickable(&self, area: Rid) -> bool
Inherited from PhysicsServer.
Sourcepub unsafe fn body_create(&mut self, mode: i64, init_sleeping: bool) -> Rid
pub unsafe fn body_create(&mut self, mode: i64, init_sleeping: bool) -> Rid
Inherited from PhysicsServer.
Sourcepub unsafe fn body_set_space(&mut self, body: Rid, space: Rid)
pub unsafe fn body_set_space(&mut self, body: Rid, space: Rid)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_get_space(&self, body: Rid) -> Rid
pub unsafe fn body_get_space(&self, body: Rid) -> Rid
Inherited from PhysicsServer.
Sourcepub unsafe fn body_set_mode(&mut self, body: Rid, mode: i64)
pub unsafe fn body_set_mode(&mut self, body: Rid, mode: i64)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_get_mode(&self, body: Rid) -> PhysicsServerBodyMode
pub unsafe fn body_get_mode(&self, body: Rid) -> PhysicsServerBodyMode
Inherited from PhysicsServer.
Sourcepub unsafe fn body_set_collision_layer(&mut self, body: Rid, layer: i64)
pub unsafe fn body_set_collision_layer(&mut self, body: Rid, layer: i64)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_get_collision_layer(&self, body: Rid) -> i64
pub unsafe fn body_get_collision_layer(&self, body: Rid) -> i64
Inherited from PhysicsServer.
Sourcepub unsafe fn body_set_collision_mask(&mut self, body: Rid, mask: i64)
pub unsafe fn body_set_collision_mask(&mut self, body: Rid, mask: i64)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_get_collision_mask(&self, body: Rid) -> i64
pub unsafe fn body_get_collision_mask(&self, body: Rid) -> i64
Inherited from PhysicsServer.
Sourcepub unsafe fn body_add_shape(
&mut self,
body: Rid,
shape: Rid,
transform: Transform,
)
pub unsafe fn body_add_shape( &mut self, body: Rid, shape: Rid, transform: Transform, )
Inherited from PhysicsServer.
Sourcepub unsafe fn body_set_shape(&mut self, body: Rid, shape_idx: i64, shape: Rid)
pub unsafe fn body_set_shape(&mut self, body: Rid, shape_idx: i64, shape: Rid)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_set_shape_transform(
&mut self,
body: Rid,
shape_idx: i64,
transform: Transform,
)
pub unsafe fn body_set_shape_transform( &mut self, body: Rid, shape_idx: i64, transform: Transform, )
Inherited from PhysicsServer.
Sourcepub unsafe fn body_get_shape_count(&self, body: Rid) -> i64
pub unsafe fn body_get_shape_count(&self, body: Rid) -> i64
Inherited from PhysicsServer.
Sourcepub unsafe fn body_get_shape(&self, body: Rid, shape_idx: i64) -> Rid
pub unsafe fn body_get_shape(&self, body: Rid, shape_idx: i64) -> Rid
Inherited from PhysicsServer.
Sourcepub unsafe fn body_get_shape_transform(
&self,
body: Rid,
shape_idx: i64,
) -> Transform
pub unsafe fn body_get_shape_transform( &self, body: Rid, shape_idx: i64, ) -> Transform
Inherited from PhysicsServer.
Sourcepub unsafe fn body_remove_shape(&mut self, body: Rid, shape_idx: i64)
pub unsafe fn body_remove_shape(&mut self, body: Rid, shape_idx: i64)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_clear_shapes(&mut self, body: Rid)
pub unsafe fn body_clear_shapes(&mut self, body: Rid)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_attach_object_instance_id(&mut self, body: Rid, id: i64)
pub unsafe fn body_attach_object_instance_id(&mut self, body: Rid, id: i64)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_get_object_instance_id(&self, body: Rid) -> i64
pub unsafe fn body_get_object_instance_id(&self, body: Rid) -> i64
Inherited from PhysicsServer.
Sourcepub unsafe fn body_set_enable_continuous_collision_detection(
&mut self,
body: Rid,
enable: bool,
)
pub unsafe fn body_set_enable_continuous_collision_detection( &mut self, body: Rid, enable: bool, )
Inherited from PhysicsServer.
Sourcepub unsafe fn body_is_continuous_collision_detection_enabled(
&self,
body: Rid,
) -> bool
pub unsafe fn body_is_continuous_collision_detection_enabled( &self, body: Rid, ) -> bool
Inherited from PhysicsServer.
Sourcepub unsafe fn body_set_param(&mut self, body: Rid, param: i64, value: f64)
pub unsafe fn body_set_param(&mut self, body: Rid, param: i64, value: f64)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_get_param(&self, body: Rid, param: i64) -> f64
pub unsafe fn body_get_param(&self, body: Rid, param: i64) -> f64
Inherited from PhysicsServer.
Sourcepub unsafe fn body_set_kinematic_safe_margin(&mut self, body: Rid, margin: f64)
pub unsafe fn body_set_kinematic_safe_margin(&mut self, body: Rid, margin: f64)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_get_kinematic_safe_margin(&self, body: Rid) -> f64
pub unsafe fn body_get_kinematic_safe_margin(&self, body: Rid) -> f64
Inherited from PhysicsServer.
Sourcepub unsafe fn body_set_state(&mut self, body: Rid, state: i64, value: Variant)
pub unsafe fn body_set_state(&mut self, body: Rid, state: i64, value: Variant)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_get_state(&self, body: Rid, state: i64) -> Variant
pub unsafe fn body_get_state(&self, body: Rid, state: i64) -> Variant
Inherited from PhysicsServer.
Sourcepub unsafe fn body_add_central_force(&mut self, body: Rid, force: Vector3)
pub unsafe fn body_add_central_force(&mut self, body: Rid, force: Vector3)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_add_force(
&mut self,
body: Rid,
force: Vector3,
position: Vector3,
)
pub unsafe fn body_add_force( &mut self, body: Rid, force: Vector3, position: Vector3, )
Inherited from PhysicsServer.
Sourcepub unsafe fn body_add_torque(&mut self, body: Rid, torque: Vector3)
pub unsafe fn body_add_torque(&mut self, body: Rid, torque: Vector3)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_apply_central_impulse(&mut self, body: Rid, impulse: Vector3)
pub unsafe fn body_apply_central_impulse(&mut self, body: Rid, impulse: Vector3)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_apply_impulse(
&mut self,
body: Rid,
position: Vector3,
impulse: Vector3,
)
pub unsafe fn body_apply_impulse( &mut self, body: Rid, position: Vector3, impulse: Vector3, )
Inherited from PhysicsServer.
Sourcepub unsafe fn body_apply_torque_impulse(&mut self, body: Rid, impulse: Vector3)
pub unsafe fn body_apply_torque_impulse(&mut self, body: Rid, impulse: Vector3)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_set_axis_velocity(
&mut self,
body: Rid,
axis_velocity: Vector3,
)
pub unsafe fn body_set_axis_velocity( &mut self, body: Rid, axis_velocity: Vector3, )
Inherited from PhysicsServer.
Sourcepub unsafe fn body_set_axis_lock(&mut self, body: Rid, axis: i64, lock: bool)
pub unsafe fn body_set_axis_lock(&mut self, body: Rid, axis: i64, lock: bool)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_is_axis_locked(&self, body: Rid, axis: i64) -> bool
pub unsafe fn body_is_axis_locked(&self, body: Rid, axis: i64) -> bool
Inherited from PhysicsServer.
Sourcepub unsafe fn body_add_collision_exception(
&mut self,
body: Rid,
excepted_body: Rid,
)
pub unsafe fn body_add_collision_exception( &mut self, body: Rid, excepted_body: Rid, )
Inherited from PhysicsServer.
Sourcepub unsafe fn body_remove_collision_exception(
&mut self,
body: Rid,
excepted_body: Rid,
)
pub unsafe fn body_remove_collision_exception( &mut self, body: Rid, excepted_body: Rid, )
Inherited from PhysicsServer.
Sourcepub unsafe fn body_set_max_contacts_reported(&mut self, body: Rid, amount: i64)
pub unsafe fn body_set_max_contacts_reported(&mut self, body: Rid, amount: i64)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_get_max_contacts_reported(&self, body: Rid) -> i64
pub unsafe fn body_get_max_contacts_reported(&self, body: Rid) -> i64
Inherited from PhysicsServer.
Sourcepub unsafe fn body_set_omit_force_integration(
&mut self,
body: Rid,
enable: bool,
)
pub unsafe fn body_set_omit_force_integration( &mut self, body: Rid, enable: bool, )
Inherited from PhysicsServer.
Sourcepub unsafe fn body_is_omitting_force_integration(&self, body: Rid) -> bool
pub unsafe fn body_is_omitting_force_integration(&self, body: Rid) -> bool
Inherited from PhysicsServer.
Sourcepub unsafe fn body_set_force_integration_callback(
&mut self,
body: Rid,
receiver: Option<Object>,
method: GodotString,
userdata: Variant,
)
pub unsafe fn body_set_force_integration_callback( &mut self, body: Rid, receiver: Option<Object>, method: GodotString, userdata: Variant, )
Inherited from PhysicsServer.
Sourcepub unsafe fn body_set_ray_pickable(&mut self, body: Rid, enable: bool)
pub unsafe fn body_set_ray_pickable(&mut self, body: Rid, enable: bool)
Inherited from PhysicsServer.
Sourcepub unsafe fn body_is_ray_pickable(&self, body: Rid) -> bool
pub unsafe fn body_is_ray_pickable(&self, body: Rid) -> bool
Inherited from PhysicsServer.
Sourcepub unsafe fn body_get_direct_state(
&mut self,
body: Rid,
) -> Option<PhysicsDirectBodyState>
pub unsafe fn body_get_direct_state( &mut self, body: Rid, ) -> Option<PhysicsDirectBodyState>
Inherited from PhysicsServer.
Sourcepub unsafe fn joint_create_pin(
&mut self,
body_A: Rid,
local_A: Vector3,
body_B: Rid,
local_B: Vector3,
) -> Rid
pub unsafe fn joint_create_pin( &mut self, body_A: Rid, local_A: Vector3, body_B: Rid, local_B: Vector3, ) -> Rid
Inherited from PhysicsServer.
Sourcepub unsafe fn pin_joint_set_param(&mut self, joint: Rid, param: i64, value: f64)
pub unsafe fn pin_joint_set_param(&mut self, joint: Rid, param: i64, value: f64)
Inherited from PhysicsServer.
Sourcepub unsafe fn pin_joint_get_param(&self, joint: Rid, param: i64) -> f64
pub unsafe fn pin_joint_get_param(&self, joint: Rid, param: i64) -> f64
Inherited from PhysicsServer.
Sourcepub unsafe fn pin_joint_set_local_a(&mut self, joint: Rid, local_A: Vector3)
pub unsafe fn pin_joint_set_local_a(&mut self, joint: Rid, local_A: Vector3)
Inherited from PhysicsServer.
Sourcepub unsafe fn pin_joint_get_local_a(&self, joint: Rid) -> Vector3
pub unsafe fn pin_joint_get_local_a(&self, joint: Rid) -> Vector3
Inherited from PhysicsServer.
Sourcepub unsafe fn pin_joint_set_local_b(&mut self, joint: Rid, local_B: Vector3)
pub unsafe fn pin_joint_set_local_b(&mut self, joint: Rid, local_B: Vector3)
Inherited from PhysicsServer.
Sourcepub unsafe fn pin_joint_get_local_b(&self, joint: Rid) -> Vector3
pub unsafe fn pin_joint_get_local_b(&self, joint: Rid) -> Vector3
Inherited from PhysicsServer.
Sourcepub unsafe fn joint_create_hinge(
&mut self,
body_A: Rid,
hinge_A: Transform,
body_B: Rid,
hinge_B: Transform,
) -> Rid
pub unsafe fn joint_create_hinge( &mut self, body_A: Rid, hinge_A: Transform, body_B: Rid, hinge_B: Transform, ) -> Rid
Inherited from PhysicsServer.
Sourcepub unsafe fn hinge_joint_set_param(
&mut self,
joint: Rid,
param: i64,
value: f64,
)
pub unsafe fn hinge_joint_set_param( &mut self, joint: Rid, param: i64, value: f64, )
Inherited from PhysicsServer.
Sourcepub unsafe fn hinge_joint_get_param(&self, joint: Rid, param: i64) -> f64
pub unsafe fn hinge_joint_get_param(&self, joint: Rid, param: i64) -> f64
Inherited from PhysicsServer.
Sourcepub unsafe fn hinge_joint_set_flag(
&mut self,
joint: Rid,
flag: i64,
enabled: bool,
)
pub unsafe fn hinge_joint_set_flag( &mut self, joint: Rid, flag: i64, enabled: bool, )
Inherited from PhysicsServer.
Sourcepub unsafe fn hinge_joint_get_flag(&self, joint: Rid, flag: i64) -> bool
pub unsafe fn hinge_joint_get_flag(&self, joint: Rid, flag: i64) -> bool
Inherited from PhysicsServer.
Sourcepub unsafe fn joint_create_slider(
&mut self,
body_A: Rid,
local_ref_A: Transform,
body_B: Rid,
local_ref_B: Transform,
) -> Rid
pub unsafe fn joint_create_slider( &mut self, body_A: Rid, local_ref_A: Transform, body_B: Rid, local_ref_B: Transform, ) -> Rid
Inherited from PhysicsServer.
Sourcepub unsafe fn slider_joint_set_param(
&mut self,
joint: Rid,
param: i64,
value: f64,
)
pub unsafe fn slider_joint_set_param( &mut self, joint: Rid, param: i64, value: f64, )
Inherited from PhysicsServer.
Sourcepub unsafe fn slider_joint_get_param(&self, joint: Rid, param: i64) -> f64
pub unsafe fn slider_joint_get_param(&self, joint: Rid, param: i64) -> f64
Inherited from PhysicsServer.
Sourcepub unsafe fn joint_create_cone_twist(
&mut self,
body_A: Rid,
local_ref_A: Transform,
body_B: Rid,
local_ref_B: Transform,
) -> Rid
pub unsafe fn joint_create_cone_twist( &mut self, body_A: Rid, local_ref_A: Transform, body_B: Rid, local_ref_B: Transform, ) -> Rid
Inherited from PhysicsServer.
Sourcepub unsafe fn cone_twist_joint_set_param(
&mut self,
joint: Rid,
param: i64,
value: f64,
)
pub unsafe fn cone_twist_joint_set_param( &mut self, joint: Rid, param: i64, value: f64, )
Inherited from PhysicsServer.
Sourcepub unsafe fn cone_twist_joint_get_param(&self, joint: Rid, param: i64) -> f64
pub unsafe fn cone_twist_joint_get_param(&self, joint: Rid, param: i64) -> f64
Inherited from PhysicsServer.
Sourcepub unsafe fn joint_get_type(&self, joint: Rid) -> PhysicsServerJointType
pub unsafe fn joint_get_type(&self, joint: Rid) -> PhysicsServerJointType
Inherited from PhysicsServer.
Sourcepub unsafe fn joint_set_solver_priority(&mut self, joint: Rid, priority: i64)
pub unsafe fn joint_set_solver_priority(&mut self, joint: Rid, priority: i64)
Inherited from PhysicsServer.
Sourcepub unsafe fn joint_get_solver_priority(&self, joint: Rid) -> i64
pub unsafe fn joint_get_solver_priority(&self, joint: Rid) -> i64
Inherited from PhysicsServer.
Sourcepub unsafe fn joint_create_generic_6dof(
&mut self,
body_A: Rid,
local_ref_A: Transform,
body_B: Rid,
local_ref_B: Transform,
) -> Rid
pub unsafe fn joint_create_generic_6dof( &mut self, body_A: Rid, local_ref_A: Transform, body_B: Rid, local_ref_B: Transform, ) -> Rid
Inherited from PhysicsServer.
Sourcepub unsafe fn generic_6dof_joint_set_param(
&mut self,
joint: Rid,
axis: i64,
param: i64,
value: f64,
)
pub unsafe fn generic_6dof_joint_set_param( &mut self, joint: Rid, axis: i64, param: i64, value: f64, )
Inherited from PhysicsServer.
Sourcepub unsafe fn generic_6dof_joint_get_param(
&mut self,
joint: Rid,
axis: i64,
param: i64,
) -> f64
pub unsafe fn generic_6dof_joint_get_param( &mut self, joint: Rid, axis: i64, param: i64, ) -> f64
Inherited from PhysicsServer.
Sourcepub unsafe fn generic_6dof_joint_set_flag(
&mut self,
joint: Rid,
axis: i64,
flag: i64,
enable: bool,
)
pub unsafe fn generic_6dof_joint_set_flag( &mut self, joint: Rid, axis: i64, flag: i64, enable: bool, )
Inherited from PhysicsServer.
Sourcepub unsafe fn generic_6dof_joint_get_flag(
&mut self,
joint: Rid,
axis: i64,
flag: i64,
) -> bool
pub unsafe fn generic_6dof_joint_get_flag( &mut self, joint: Rid, axis: i64, flag: i64, ) -> bool
Inherited from PhysicsServer.
Sourcepub unsafe fn free_rid(&mut self, rid: Rid)
pub unsafe fn free_rid(&mut self, rid: Rid)
Inherited from PhysicsServer.
Sourcepub unsafe fn set_active(&mut self, active: bool)
pub unsafe fn set_active(&mut self, active: bool)
Inherited from PhysicsServer.
Sourcepub unsafe fn get_process_info(&mut self, process_info: i64) -> i64
pub unsafe fn get_process_info(&mut self, process_info: i64) -> i64
Inherited from PhysicsServer.
Sourcepub unsafe fn _notification(&mut self, what: i64)
pub unsafe fn _notification(&mut self, what: i64)
Inherited from Object.
Sourcepub unsafe fn _set(&mut self, property: GodotString, value: Variant) -> bool
pub unsafe fn _set(&mut self, property: GodotString, value: Variant) -> bool
Inherited from Object.
Sourcepub unsafe fn _get(&mut self, property: GodotString) -> Variant
pub unsafe fn _get(&mut self, property: GodotString) -> Variant
Inherited from Object.
Sourcepub unsafe fn _get_property_list(&mut self) -> VariantArray
pub unsafe fn _get_property_list(&mut self) -> VariantArray
Inherited from Object.
Sourcepub unsafe fn get_class(&self) -> GodotString
pub unsafe fn get_class(&self) -> GodotString
Inherited from Object.
Sourcepub unsafe fn is_class(&self, _type: GodotString) -> bool
pub unsafe fn is_class(&self, _type: GodotString) -> bool
Inherited from Object.
Sourcepub unsafe fn set(&mut self, property: GodotString, value: Variant)
pub unsafe fn set(&mut self, property: GodotString, value: Variant)
Inherited from Object.
Sourcepub unsafe fn get(&self, property: GodotString) -> Variant
pub unsafe fn get(&self, property: GodotString) -> Variant
Inherited from Object.
Sourcepub unsafe fn set_indexed(&mut self, property: NodePath, value: Variant)
pub unsafe fn set_indexed(&mut self, property: NodePath, value: Variant)
Inherited from Object.
Sourcepub unsafe fn get_indexed(&self, property: NodePath) -> Variant
pub unsafe fn get_indexed(&self, property: NodePath) -> Variant
Inherited from Object.
Sourcepub unsafe fn get_property_list(&self) -> VariantArray
pub unsafe fn get_property_list(&self) -> VariantArray
Inherited from Object.
Sourcepub unsafe fn get_method_list(&self) -> VariantArray
pub unsafe fn get_method_list(&self) -> VariantArray
Inherited from Object.
Sourcepub unsafe fn notification(&mut self, what: i64, reversed: bool)
pub unsafe fn notification(&mut self, what: i64, reversed: bool)
Inherited from Object.
Sourcepub unsafe fn get_instance_id(&self) -> i64
pub unsafe fn get_instance_id(&self) -> i64
Inherited from Object.
Sourcepub unsafe fn set_script(&mut self, script: Option<Reference>)
pub unsafe fn set_script(&mut self, script: Option<Reference>)
Inherited from Object.
Sourcepub unsafe fn get_script(&self) -> Option<Reference>
pub unsafe fn get_script(&self) -> Option<Reference>
Inherited from Object.
Sourcepub unsafe fn set_meta(&mut self, name: GodotString, value: Variant)
pub unsafe fn set_meta(&mut self, name: GodotString, value: Variant)
Inherited from Object.
Sourcepub unsafe fn get_meta(&self, name: GodotString) -> Variant
pub unsafe fn get_meta(&self, name: GodotString) -> Variant
Inherited from Object.
Sourcepub unsafe fn has_meta(&self, name: GodotString) -> bool
pub unsafe fn has_meta(&self, name: GodotString) -> bool
Inherited from Object.
Sourcepub unsafe fn get_meta_list(&self) -> StringArray
pub unsafe fn get_meta_list(&self) -> StringArray
Inherited from Object.
Sourcepub unsafe fn add_user_signal(
&mut self,
signal: GodotString,
arguments: VariantArray,
)
pub unsafe fn add_user_signal( &mut self, signal: GodotString, arguments: VariantArray, )
Inherited from Object.
Sourcepub unsafe fn has_user_signal(&self, signal: GodotString) -> bool
pub unsafe fn has_user_signal(&self, signal: GodotString) -> bool
Inherited from Object.
Sourcepub unsafe fn emit_signal(
&mut self,
signal: GodotString,
varargs: &[Variant],
) -> Variant
pub unsafe fn emit_signal( &mut self, signal: GodotString, varargs: &[Variant], ) -> Variant
Inherited from Object.
Sourcepub unsafe fn call(
&mut self,
method: GodotString,
varargs: &[Variant],
) -> Variant
pub unsafe fn call( &mut self, method: GodotString, varargs: &[Variant], ) -> Variant
Inherited from Object.
Sourcepub unsafe fn call_deferred(
&mut self,
method: GodotString,
varargs: &[Variant],
) -> Variant
pub unsafe fn call_deferred( &mut self, method: GodotString, varargs: &[Variant], ) -> Variant
Inherited from Object.
Sourcepub unsafe fn callv(
&mut self,
method: GodotString,
arg_array: VariantArray,
) -> Variant
pub unsafe fn callv( &mut self, method: GodotString, arg_array: VariantArray, ) -> Variant
Inherited from Object.
Sourcepub unsafe fn has_method(&self, method: GodotString) -> bool
pub unsafe fn has_method(&self, method: GodotString) -> bool
Inherited from Object.
Sourcepub unsafe fn get_signal_list(&self) -> VariantArray
pub unsafe fn get_signal_list(&self) -> VariantArray
Inherited from Object.
Sourcepub unsafe fn get_signal_connection_list(
&self,
signal: GodotString,
) -> VariantArray
pub unsafe fn get_signal_connection_list( &self, signal: GodotString, ) -> VariantArray
Inherited from Object.
Sourcepub unsafe fn get_incoming_connections(&self) -> VariantArray
pub unsafe fn get_incoming_connections(&self) -> VariantArray
Inherited from Object.
Sourcepub unsafe fn connect(
&mut self,
signal: GodotString,
target: Option<Object>,
method: GodotString,
binds: VariantArray,
flags: i64,
) -> GodotResult
pub unsafe fn connect( &mut self, signal: GodotString, target: Option<Object>, method: GodotString, binds: VariantArray, flags: i64, ) -> GodotResult
Inherited from Object.
Sourcepub unsafe fn disconnect(
&mut self,
signal: GodotString,
target: Option<Object>,
method: GodotString,
)
pub unsafe fn disconnect( &mut self, signal: GodotString, target: Option<Object>, method: GodotString, )
Inherited from Object.
Sourcepub unsafe fn is_connected(
&self,
signal: GodotString,
target: Option<Object>,
method: GodotString,
) -> bool
pub unsafe fn is_connected( &self, signal: GodotString, target: Option<Object>, method: GodotString, ) -> bool
Inherited from Object.
Sourcepub unsafe fn set_block_signals(&mut self, enable: bool)
pub unsafe fn set_block_signals(&mut self, enable: bool)
Inherited from Object.
Sourcepub unsafe fn is_blocking_signals(&self) -> bool
pub unsafe fn is_blocking_signals(&self) -> bool
Inherited from Object.
Sourcepub unsafe fn property_list_changed_notify(&mut self)
pub unsafe fn property_list_changed_notify(&mut self)
Inherited from Object.
Sourcepub unsafe fn set_message_translation(&mut self, enable: bool)
pub unsafe fn set_message_translation(&mut self, enable: bool)
Inherited from Object.
Sourcepub unsafe fn can_translate_messages(&self) -> bool
pub unsafe fn can_translate_messages(&self) -> bool
Inherited from Object.
Sourcepub unsafe fn tr(&self, message: GodotString) -> GodotString
pub unsafe fn tr(&self, message: GodotString) -> GodotString
Inherited from Object.
Sourcepub unsafe fn is_queued_for_deletion(&self) -> bool
pub unsafe fn is_queued_for_deletion(&self) -> bool
Inherited from Object.
Sourcepub unsafe fn to_physics_server(&self) -> PhysicsServer
pub unsafe fn to_physics_server(&self) -> PhysicsServer
Up-cast.
Sourcepub unsafe fn cast<T: GodotObject>(&self) -> Option<T>
pub unsafe fn cast<T: GodotObject>(&self) -> Option<T>
Generic dynamic cast.
Trait Implementations§
Source§impl Clone for BulletPhysicsServer
impl Clone for BulletPhysicsServer
Source§fn clone(&self) -> BulletPhysicsServer
fn clone(&self) -> BulletPhysicsServer
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more