![]() characterController:AddComponent("AirStrafe") -Component is WIPĬharacterController:ConnectComponentsToInput() Local characterController = PhysicsCharacterController.new(rootPart)ĬharacterController:AddDefaultComponents()ĬharacterController:AddComponent("Slide") Object auto destroys input when character is not in workspace (Destroyed) Local humanoid : Humanoid = newCharacter:WaitForChild("Humanoid") Local rootPart = newCharacter:WaitForChild("HumanoidRootPart") Local initChar = function(newCharacter : Model) ![]() Local character = player.Character or player.CharacterAdded:Wait() Local PhysicsCharacterController = require(script.PhysicsCharacterController) Example local script usage on the API: -StarterPlayerScripts, runs once
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |