BulletSoftBodyNode
from panda3d.bullet import BulletSoftBodyNode
- class BulletSoftBodyNode
Bases:
BulletBodyNode
Inheritance diagram
- __init__(*args, **kwargs)
- aabb
- addForce()
C++ Interface: add_force(const BulletSoftBodyNode self, const LVector3f force) add_force(const BulletSoftBodyNode self, const LVector3f force, int node)
// Force
- addVelocity()
C++ Interface: add_velocity(const BulletSoftBodyNode self, const LVector3f velocity) add_velocity(const BulletSoftBodyNode self, const LVector3f velocity, int node)
- add_force()
C++ Interface: add_force(const BulletSoftBodyNode self, const LVector3f force) add_force(const BulletSoftBodyNode self, const LVector3f force, int node)
// Force
- add_velocity()
C++ Interface: add_velocity(const BulletSoftBodyNode self, const LVector3f velocity) add_velocity(const BulletSoftBodyNode self, const LVector3f velocity, int node)
- appendAnchor()
C++ Interface: append_anchor(const BulletSoftBodyNode self, int node, BulletRigidBodyNode body) append_anchor(const BulletSoftBodyNode self, int node, BulletRigidBodyNode body, const LVector3f pivot, bool disable) append_anchor(const BulletSoftBodyNode self, int node, BulletRigidBodyNode body, bool disable)
// Anchors
- appendAngularJoint()
C++ Interface: append_angular_joint(const BulletSoftBodyNode self, BulletBodyNode body, const LVector3f axis, float erp, float cfm, float split, BulletSoftBodyControl control)
- /**
*/
- appendLinearJoint()
C++ Interface: append_linear_joint(const BulletSoftBodyNode self, BulletBodyNode body, const LPoint3f pos, float erp, float cfm, float split) append_linear_joint(const BulletSoftBodyNode self, BulletBodyNode body, int cluster, float erp, float cfm, float split)
// Links
- append_anchor()
C++ Interface: append_anchor(const BulletSoftBodyNode self, int node, BulletRigidBodyNode body) append_anchor(const BulletSoftBodyNode self, int node, BulletRigidBodyNode body, const LVector3f pivot, bool disable) append_anchor(const BulletSoftBodyNode self, int node, BulletRigidBodyNode body, bool disable)
// Anchors
- append_angular_joint()
C++ Interface: append_angular_joint(const BulletSoftBodyNode self, BulletBodyNode body, const LVector3f axis, float erp, float cfm, float split, BulletSoftBodyControl control)
- /**
*/
- append_linear_joint()
C++ Interface: append_linear_joint(const BulletSoftBodyNode self, BulletBodyNode body, const LPoint3f pos, float erp, float cfm, float split) append_linear_joint(const BulletSoftBodyNode self, BulletBodyNode body, int cluster, float erp, float cfm, float split)
// Links
- cfg
- generateBendingConstraints()
C++ Interface: generate_bending_constraints(const BulletSoftBodyNode self, int distance, BulletSoftBodyMaterial material)
- /**
*/
- generateClusters()
C++ Interface: generate_clusters(const BulletSoftBodyNode self, int k, int maxiterations)
// Cluster
- /**
*/
- generate_bending_constraints()
C++ Interface: generate_bending_constraints(const BulletSoftBodyNode self, int distance, BulletSoftBodyMaterial material)
- /**
*/
- generate_clusters()
C++ Interface: generate_clusters(const BulletSoftBodyNode self, int k, int maxiterations)
// Cluster
- /**
*/
- getClassType()
C++ Interface: get_class_type()
- getClosestNodeIndex()
C++ Interface: get_closest_node_index(const BulletSoftBodyNode self, LVecBase3f point, bool local)
- /**
Returns the index of the node which is closest to the given point. The
distance between each node and the given point is computed in world space
if local=false, and in local space if local=true.
*/
- getMaterials()
- getNodes()
- getNumMaterials()
C++ Interface: get_num_materials(BulletSoftBodyNode self)
// Materials
// Materials
// Materials
- /**
*/
- getNumNodes()
C++ Interface: get_num_nodes(BulletSoftBodyNode self)
// Nodes
// Nodes
// Nodes
- /**
*/
- get_class_type()
C++ Interface: get_class_type()
- get_closest_node_index()
C++ Interface: get_closest_node_index(const BulletSoftBodyNode self, LVecBase3f point, bool local)
- /**
Returns the index of the node which is closest to the given point. The
distance between each node and the given point is computed in world space
if local=false, and in local space if local=true.
*/
- get_materials()
- get_nodes()
- get_num_materials()
C++ Interface: get_num_materials(BulletSoftBodyNode self)
// Materials
// Materials
// Materials
- /**
*/
- get_num_nodes()
C++ Interface: get_num_nodes(BulletSoftBodyNode self)
// Nodes
// Nodes
// Nodes
- /**
*/
- linkCurve()
C++ Interface: link_curve(const BulletSoftBodyNode self, NurbsCurveEvaluator curve)
- /**
*/
- linkSurface()
C++ Interface: link_surface(const BulletSoftBodyNode self, NurbsSurfaceEvaluator surface)
- /**
*/
- link_curve()
C++ Interface: link_curve(const BulletSoftBodyNode self, NurbsCurveEvaluator curve)
- /**
*/
- link_surface()
C++ Interface: link_surface(const BulletSoftBodyNode self, NurbsSurfaceEvaluator surface)
- /**
*/
- makeEllipsoid()
C++ Interface: make_ellipsoid(BulletSoftBodyWorldInfo info, const LPoint3f center, const LVecBase3f radius, int res)
- /**
*/
- makePatch()
C++ Interface: make_patch(BulletSoftBodyWorldInfo info, const LPoint3f corner00, const LPoint3f corner10, const LPoint3f corner01, const LPoint3f corner11, int resx, int resy, int fixeds, bool gendiags)
- /**
*/
- makeRope()
C++ Interface: make_rope(BulletSoftBodyWorldInfo info, const LPoint3f from, const LPoint3f to, int res, int fixeds)
// Factory
- /**
*/
- makeTetMesh()
C++ Interface: make_tet_mesh(BulletSoftBodyWorldInfo info, PointerToArray points, PointerToArray indices) make_tet_mesh(BulletSoftBodyWorldInfo info, PointerToArray points, PointerToArray indices, bool tetralinks) make_tet_mesh(BulletSoftBodyWorldInfo info, str ele, str face, str node)
- makeTriMesh()
C++ Interface: make_tri_mesh(BulletSoftBodyWorldInfo info, const Geom geom) make_tri_mesh(BulletSoftBodyWorldInfo info, PointerToArray points, PointerToArray indices, bool randomizeConstraints) make_tri_mesh(BulletSoftBodyWorldInfo info, const Geom geom, bool randomizeConstraints)
- make_ellipsoid()
C++ Interface: make_ellipsoid(BulletSoftBodyWorldInfo info, const LPoint3f center, const LVecBase3f radius, int res)
- /**
*/
- make_patch()
C++ Interface: make_patch(BulletSoftBodyWorldInfo info, const LPoint3f corner00, const LPoint3f corner10, const LPoint3f corner01, const LPoint3f corner11, int resx, int resy, int fixeds, bool gendiags)
- /**
*/
- make_rope()
C++ Interface: make_rope(BulletSoftBodyWorldInfo info, const LPoint3f from, const LPoint3f to, int res, int fixeds)
// Factory
- /**
*/
- make_tet_mesh()
C++ Interface: make_tet_mesh(BulletSoftBodyWorldInfo info, PointerToArray points, PointerToArray indices) make_tet_mesh(BulletSoftBodyWorldInfo info, PointerToArray points, PointerToArray indices, bool tetralinks) make_tet_mesh(BulletSoftBodyWorldInfo info, str ele, str face, str node)
- make_tri_mesh()
C++ Interface: make_tri_mesh(BulletSoftBodyWorldInfo info, const Geom geom) make_tri_mesh(BulletSoftBodyWorldInfo info, PointerToArray points, PointerToArray indices, bool randomizeConstraints) make_tri_mesh(BulletSoftBodyWorldInfo info, const Geom geom, bool randomizeConstraints)
- materials
- nodes
- num_clusters
- setTotalDensity()
C++ Interface: set_total_density(const BulletSoftBodyNode self, float density)
- /**
*/
- setTotalMass()
C++ Interface: set_total_mass(const BulletSoftBodyNode self, float mass, bool fromfaces)
- /**
*/
- setVelocity()
C++ Interface: set_velocity(const BulletSoftBodyNode self, const LVector3f velocity)
- /**
*/
- setVolumeDensity()
C++ Interface: set_volume_density(const BulletSoftBodyNode self, float density)
- /**
*/
- setVolumeMass()
C++ Interface: set_volume_mass(const BulletSoftBodyNode self, float mass)
// Mass, volume, density
- /**
*/
- setWindVelocity()
C++ Interface: set_wind_velocity(const BulletSoftBodyNode self, const LVector3f velocity)
- /**
*/
- set_pose()
C++ Interface: set_pose(const BulletSoftBodyNode self, bool bvolume, bool bframe)
- /**
*/
- set_total_density()
C++ Interface: set_total_density(const BulletSoftBodyNode self, float density)
- /**
*/
- set_total_mass()
C++ Interface: set_total_mass(const BulletSoftBodyNode self, float mass, bool fromfaces)
- /**
*/
- set_velocity()
C++ Interface: set_velocity(const BulletSoftBodyNode self, const LVector3f velocity)
- /**
*/
- set_volume_density()
C++ Interface: set_volume_density(const BulletSoftBodyNode self, float density)
- /**
*/
- set_volume_mass()
C++ Interface: set_volume_mass(const BulletSoftBodyNode self, float mass)
// Mass, volume, density
- /**
*/
- set_wind_velocity()
C++ Interface: set_wind_velocity(const BulletSoftBodyNode self, const LVector3f velocity)
- /**
*/
- wind_velocity
- world_info