menu
cannon_physics package
documentation
shapes/box.dart
shapes/box.dart
dark_mode
light_mode
shapes/box
library
Classes
Box
A 3d box shape. @example const size = 1 const halfExtents = CANNON.Vec3(size, size, size) const boxShape = CANNON.Box(halfExtents) const boxBody = CANNON.Body({ mass: 1, shape: boxShape }) world.addBody(boxBody)
cannon_physics package
documentation
shapes/box.dart
cannon_physics
package
Libraries
cannon_physics
collision/aabb
collision/array_collision_matrix
collision/broadphase
collision/grid_broadphase
collision/naive_broadphase
collision/object_collision_matrix
collision/overlap_keeper
collision/ray_class
collision/raycast_result
collision/sap_broadphase
constraints/cone_twist_constraint
constraints/constraint_class
constraints/distance_constraint
constraints/hinge_constraint
constraints/lock_constraint
constraints/point_to_point_constraint
equations/cone_equation
equations/contact_equation
equations/equation_class
equations/friction_equation
equations/rotational_equation
equations/rotational_motor_equation
material/contact_material
material/material
math/jacobian_element
math/mat3
math/quaternion
math/transform
math/vec3
objects/body
objects/raycast_vehicle
objects/rigid_vehicle
objects/sph_system
objects/spring
objects/wheel_info
shapes/box
shapes/convex_polyhedron
shapes/cylinder
shapes/heightfield
shapes/particle
shapes/plane
shapes/shape
shapes/sphere
shapes/trimesh
solver/gs_solver
solver/solver
solver/split_solver
utils/event_target
utils/logger
utils/octree
utils/pool
utils/tuple_dictionary
utils/utils
utils/vec3_pool
world/narrow_phase
world/world_class
box library