![]() ![]() ![]() (The checkForStep function gets called every frame using RunService. Local distFromFeet = (collision.Position - /2) - THIS IS WHERE I AM HAVING PROBLEMS, ITS NOT FINISHEDĬollision:ApplyImpulse(velocity*100*globalDelta) ![]() Local wallParts = workspace:GetPartsInPart(collider:FindFirstChild("WallCheck"), ovParams) It can fetch information about players not connected to the server, such as character appearances, friends, and avatar thumbnail. It also contains information about a place's configuration. Local stepParts = workspace:GetPartsInPart(collider:FindFirstChild("StepCheck"), ovParams) The Players service contains Player objects for presently connected clients to a Roblox server. Heres the code that detects that: function checkForStep() So basically whenever the blue collider detects a wall and if that wall does not collide with the wall collider then the controler considers that as a step, therefore it should teleport the player upwoards to compensate. Roblox provides a default human character for all games but you can use any model you want for player characters For this game the player will pilot a ship made out of basic parts Creating Player Ships All characters require a HumanoidRootPart to function as a character The HumanoidRootPart is used to move characters around the world. The ground detection collision is just for jumping, it does nothing here. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |