BasePart

Class

BasePart

This is the base class for all object(except characters)

Properties

  • bool anchored whether control by the physical system。

  • float angularDrag angular frictions

  • float angularVelocity angular velocity.

  • bool collidable whether will collide with other physical objects.

  • float drag frictions.

  • bool equipable whether can be equipped by player

  • bool interactable whether it will interact with player. this will infect the 'collidable' property.

  • float mass mass. determine how heavy this object is.

  • bool pickable whether can be pick up by player.

  • bool snatchable when pick up and hold a object, whether it can be griped by other player.

  • bool useGravity whether this object influence by gravity

  • Vector3 velocity liner velocity of this object

Functions

Events

Last updated

Was this helpful?