BulletSoftBodyNode

from panda3d.bullet import BulletSoftBodyNode
class BulletSoftBodyNode

Bases: BulletBodyNode

Inheritance diagram

Inheritance diagram of BulletSoftBodyNode

__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

/**

*/

/**

*/

appendMaterial()

C++ Interface: append_material(const BulletSoftBodyNode self)

/**

*/

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

/**

*/

/**

*/

append_material()

C++ Interface: append_material(const BulletSoftBodyNode self)

/**

*/

cfg
clusterCom()

C++ Interface: cluster_com(BulletSoftBodyNode self, int cluster)

/**

*/

cluster_com()

C++ Interface: cluster_com(BulletSoftBodyNode self, int cluster)

/**

*/

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

/**

*/

getAabb()

C++ Interface: get_aabb(BulletSoftBodyNode self)

/**

*/

getCfg()

C++ Interface: get_cfg(const BulletSoftBodyNode self)

/**

*/

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.

*/

getMass()

C++ Interface: get_mass(BulletSoftBodyNode self, int node)

/**

*/

getMaterial()

C++ Interface: get_material(BulletSoftBodyNode self, int idx)

/**

*/

getMaterials()
getNode()

C++ Interface: get_node(BulletSoftBodyNode self, int idx)

/**

*/

getNodes()
getNumClusters()

C++ Interface: get_num_clusters(BulletSoftBodyNode self)

/**

*/

getNumMaterials()

C++ Interface: get_num_materials(BulletSoftBodyNode self)

// Materials

// Materials

// Materials

/**

*/

getNumNodes()

C++ Interface: get_num_nodes(BulletSoftBodyNode self)

// Nodes

// Nodes

// Nodes

/**

*/

getTotalMass()

C++ Interface: get_total_mass(BulletSoftBodyNode self)

/**

*/

getVolume()

C++ Interface: get_volume(BulletSoftBodyNode self)

/**

*/

getWindVelocity()

C++ Interface: get_wind_velocity(BulletSoftBodyNode self)

/**

*/

getWorldInfo()

C++ Interface: get_world_info(const BulletSoftBodyNode self)

/**

*/

get_aabb()

C++ Interface: get_aabb(BulletSoftBodyNode self)

/**

*/

get_cfg()

C++ Interface: get_cfg(const BulletSoftBodyNode self)

/**

*/

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_mass()

C++ Interface: get_mass(BulletSoftBodyNode self, int node)

/**

*/

get_material()

C++ Interface: get_material(BulletSoftBodyNode self, int idx)

/**

*/

get_materials()
get_node()

C++ Interface: get_node(BulletSoftBodyNode self, int idx)

/**

*/

get_nodes()
get_num_clusters()

C++ Interface: get_num_clusters(BulletSoftBodyNode self)

/**

*/

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

/**

*/

get_total_mass()

C++ Interface: get_total_mass(BulletSoftBodyNode self)

/**

*/

get_volume()

C++ Interface: get_volume(BulletSoftBodyNode self)

/**

*/

get_wind_velocity()

C++ Interface: get_wind_velocity(BulletSoftBodyNode self)

/**

*/

get_world_info()

C++ Interface: get_world_info(const BulletSoftBodyNode self)

/**

*/

linkCurve()

C++ Interface: link_curve(const BulletSoftBodyNode self, NurbsCurveEvaluator curve)

/**

*/

linkGeom()

C++ Interface: link_geom(const BulletSoftBodyNode self, Geom geom)

// Rendering

/**

*/

linkSurface()

C++ Interface: link_surface(const BulletSoftBodyNode self, NurbsSurfaceEvaluator surface)

/**

*/

C++ Interface: link_curve(const BulletSoftBodyNode self, NurbsCurveEvaluator curve)

/**

*/

C++ Interface: link_geom(const BulletSoftBodyNode self, Geom geom)

// Rendering

/**

*/

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
randomizeConstraints()

C++ Interface: randomize_constraints(const BulletSoftBodyNode self)

/**

*/

randomize_constraints()

C++ Interface: randomize_constraints(const BulletSoftBodyNode self)

/**

*/

releaseCluster()

C++ Interface: release_cluster(const BulletSoftBodyNode self, int index)

/**

*/

releaseClusters()

C++ Interface: release_clusters(const BulletSoftBodyNode self)

/**

*/

release_cluster()

C++ Interface: release_cluster(const BulletSoftBodyNode self, int index)

/**

*/

release_clusters()

C++ Interface: release_clusters(const BulletSoftBodyNode self)

/**

*/

setMass()

C++ Interface: set_mass(const BulletSoftBodyNode self, int node, float mass)

/**

*/

setPose()

C++ Interface: set_pose(const BulletSoftBodyNode self, bool bvolume, bool bframe)

/**

*/

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_mass()

C++ Interface: set_mass(const BulletSoftBodyNode self, int node, float mass)

/**

*/

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)

/**

*/

unlinkCurve()

C++ Interface: unlink_curve(const BulletSoftBodyNode self)

/**

*/

unlinkGeom()

C++ Interface: unlink_geom(const BulletSoftBodyNode self)

/**

*/

unlinkSurface()

C++ Interface: unlink_surface(const BulletSoftBodyNode self)

/**

*/

C++ Interface: unlink_curve(const BulletSoftBodyNode self)

/**

*/

C++ Interface: unlink_geom(const BulletSoftBodyNode self)

/**

*/

C++ Interface: unlink_surface(const BulletSoftBodyNode self)

/**

*/

wind_velocity
world_info