Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Releases: Rythian2277/Luanoid

v2.0

Choose a tag to compare

@raphtalia raphtalia released this 04 Jun 04:42

For more details see the new documentation page.

Fixes

  • GetNetworkOwner() will now properly run GetAttribute() on the Luanoid character model instead of RootPart. This fixes the Luanoid restoring the NetworkOwner to the player specified through SetNetworkOwner() which is often overwritten by Roblox's automatic network ownership.
  • The default setting for AutoRotate is now back to true.
  • Improved falling state by adding raycasts at the corners of the RootPart.
  • Dramatically reduced the bouncing effect from when the physics engine is lagging.

Changes

  • Added TakeDamage(number) using this method will prevent Health going into negative values compared to directly writing to the property.
  • Added MaxSlopeAngle this property describes the maximum slope the Luanoid can stand on without sliding down.
  • Added more events
    • HealthChanged
    • Died
    • FreeFalling
    • Jumping
  • Added Jump boolean property. This change removes the Jump() method to match Humanoids.
  • Arguments for creating Luanoids changed from Luanoid(table|Model) to Luanoid(table?, model?). This change is to allow specifying both custom properties and an existing character model simultaneously.
  • These properties are now replicated from server to client. Due to these properties being internally replicated as attributes it is now possible to edit these properties through calling SetAttribute() on the Luanoid's character model without the need of a reference to the Luanoid object.
    • Vector3 MoveDirection
    • Vector3 LookDirection
    • number Health
    • number MaxHealth
    • number WalkSpeed
    • number JumpPower
    • number HipHeight
    • number MaxSlopeAngle
    • boolean AutoRotate
    • boolean Jump

v1.0.1

Choose a tag to compare

@raphtalia raphtalia released this 26 May 03:25

Fixes

  • CancelMoveTo() will now reset MoveDirection

Changes

  • CharacterState EnumItems now behave like Roblox EnumItems. More information here.

v1.0

Choose a tag to compare

@raphtalia raphtalia released this 25 May 17:53
Added typing to everything