User:CrosRoad95: Difference between revisions
Jump to navigation
Jump to search
CrosRoad95 (talk | contribs) No edit summary |
CrosRoad95 (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
{{Client_physics_functions}} | {{Client_physics_functions}} | ||
Future ideas for physics: | |||
# gear constraint | |||
# wheels | |||
# detailed raycast | |||
# copying shape | |||
# respawn point for rigid body?? | |||
# attaching rigid body to mta object | |||
# multimaterial triangle mesh | |||
# options to build gta collision function: | |||
## - what models should be created as rigid body, do they should have set respawn point? | |||
## - reuse shapes, create new for duplicated models | |||
## - don't create compound shape if not needed | |||
# soft bodies | |||
# drawing debug only for specified rigid body/static collision/shape | |||
# debug mode to render only rigids, only static collision or both | |||
# fast 3d line | |||
# profiling | |||
# quering physics element | |||
# world size option to automatic get rid of rigid bodies which fall off world |
Revision as of 06:23, 20 February 2020
List of functions i'm working on:
- physicsCreateWorld
- physicsDestroy
- physicsCreateShape
- physicsCreateShapeFromModel
- physicsCreateRigidBody
- physicsCreateStaticCollision
- physicsCreateConstraint
- physicsAddChildShape
- physicsRemoveChildShape
- physicsGetChildShapes
- physicsSetChildShapeOffsets
- physicsGetChildShapeOffsets
- physicsGetShapes
- physicsGetRigidBodies
- physicsGetStaticCollisions
- physicsGetConstraints
- physicsSetProperties
- physicsGetProperties
- physicsDrawDebug
- physicsSetDebugMode
- physicsBuildCollisionFromGTA
- physicsApplyVelocity
- physicsApplyVelocityForce
- physicsApplyAngularVelocity
- physicsApplyAngularVelocityForce
- physicsApplyDamping
- physicsRayCast
- physicsShapeCast
- physicsGetElementType
- physicsIsElement
Future ideas for physics:
- gear constraint
- wheels
- detailed raycast
- copying shape
- respawn point for rigid body??
- attaching rigid body to mta object
- multimaterial triangle mesh
- options to build gta collision function:
- - what models should be created as rigid body, do they should have set respawn point?
- - reuse shapes, create new for duplicated models
- - don't create compound shape if not needed
- soft bodies
- drawing debug only for specified rigid body/static collision/shape
- debug mode to render only rigids, only static collision or both
- fast 3d line
- profiling
- quering physics element
- world size option to automatic get rid of rigid bodies which fall off world