PhysicProperties.new||doc136836

September 20, 2022

Format

PhysicProperties.new(density, friction, elasticity)
  • Function class:PhysicProperties
  • Call limit:Common

Describe

Create a custom physical attribute data.

parameter

Variable name Type Describe
density float density
friction float Friction coefficient, limited between [0, 1]
elasticity float Elastic coefficient, limited between [0, 1]

Return value

Type Describe
Vector3 3D vector type data