{"id":"dolphin.player3d--dolphinPlayerBody","name":"dolphinPlayerBody","owner":"dolphin","package":"dolphin.player3d","kind":"class","signature":"external class dolphinPlayerBody","description":"A bounded kinematic player body with walking, gravity, sliding, jump edges, and an eye rig. Static AABBs provide collision; arbitrary mesh collision is outside this prototype.","context":"Use dolphin.player3d in Yeho source.","parameters":[],"returns":"void","members":[{"name":"solids","kind":"field","type":"list of dolphinAabb3","description":"Stores solids as list of dolphinAabb3.","signature":"list of dolphinAabb3 solids","tags":["class","field","dolphin.player3d"],"updated":"2026-09-09"},{"name":"x","kind":"field","type":"float","description":"Stores x as float.","signature":"float x","tags":["class","field","dolphin.player3d"],"updated":"2026-09-09"},{"name":"radius","kind":"field","type":"float","description":"Stores radius as float.","signature":"float radius","tags":["class","field","dolphin.player3d"],"updated":"2026-09-09"},{"name":"grounded","kind":"field","type":"bool","description":"Stores grounded as bool.","signature":"bool grounded","tags":["class","field","dolphin.player3d"],"updated":"2026-09-09"},{"name":"head","kind":"field","type":"dolphinAffine3","description":"Stores head as dolphinAffine3.","signature":"dolphinAffine3 head","tags":["class","field","dolphin.player3d"],"updated":"2026-09-09"},{"name":"dolphinPlayerBody","kind":"constructor","parameters":[],"returns":"void","signature":"dolphinPlayerBody()","description":"Dolphin player body.","tags":["class","constructor","dolphin.player3d"],"updated":"2026-09-09"},{"name":"SetSolids","kind":"method","parameters":[{"name":"boxes","type":"list of dolphinAabb3 original","description":"Boxes."}],"returns":"bool","signature":"SetSolids(list of dolphinAabb3 original boxes) returns bool","description":"Set solids.","tags":["class","method","dolphin.player3d"],"exampleId":"method-SetSolids-6","updated":"2026-09-09"},{"name":"PositionClear","kind":"method","parameters":[{"name":"x","type":"float","description":"X."},{"name":"y","type":"float","description":"Y."},{"name":"z","type":"float","description":"Z."}],"returns":"bool","signature":"PositionClear(float x,float y,float z) returns bool","description":"Position clear.","tags":["class","method","dolphin.player3d"],"exampleId":"method-PositionClear-7","updated":"2026-09-09"},{"name":"Spawn","kind":"method","parameters":[{"name":"feet","type":"Vector3","description":"Feet."},{"name":"yaw","type":"float","description":"Yaw."}],"returns":"bool","signature":"Spawn(Vector3 feet,float yaw) returns bool","description":"Spawn.","tags":["class","method","dolphin.player3d"],"exampleId":"method-Spawn-8","updated":"2026-09-09"},{"name":"Look","kind":"method","parameters":[{"name":"dx","type":"float","description":"Dx."},{"name":"dy","type":"float","description":"Dy."}],"returns":"void","signature":"Look(float dx,float dy)","description":"Look.","tags":["class","method","dolphin.player3d"],"exampleId":"method-Look-9","updated":"2026-09-09"},{"name":"SweepAxis","kind":"method","parameters":[{"name":"axis","type":"int","description":"Axis."},{"name":"amount","type":"float","description":"Amount."}],"returns":"float","signature":"SweepAxis(int axis,float amount) returns float","description":"Sweep axis.","tags":["class","method","dolphin.player3d"],"exampleId":"method-SweepAxis-10","updated":"2026-09-09"},{"name":"Step","kind":"method","parameters":[{"name":"forward","type":"float","description":"Forward."},{"name":"right","type":"float","description":"Right."},{"name":"jump","type":"bool","description":"Jump."},{"name":"sprint","type":"bool","description":"Sprint."},{"name":"seconds","type":"float","description":"Seconds."}],"returns":"bool","signature":"Step(float forward,float right,bool jump,bool sprint,float seconds) returns bool","description":"Step.","tags":["class","method","dolphin.player3d"],"exampleId":"method-Step-11","updated":"2026-09-09"},{"name":"SetHead","kind":"method","parameters":[{"name":"pose","type":"dolphinAffine3","description":"Pose."}],"returns":"bool","signature":"SetHead(dolphinAffine3 pose) returns bool","description":"Set head.","tags":["class","method","dolphin.player3d"],"exampleId":"method-SetHead-12","updated":"2026-09-09"},{"name":"EyePose","kind":"method","parameters":[{"name":"lateral","type":"float","description":"Lateral."}],"returns":"dolphinAffine3","signature":"EyePose(float lateral) returns dolphinAffine3","description":"Eye pose.","tags":["class","method","dolphin.player3d"],"exampleId":"method-EyePose-13","updated":"2026-09-09"}],"tags":["class","cpu","dolphin","dolphin.player3d","method","player3d","source-example"],"updated":"2026-09-09","source":{"repository":"dolphin","path":"packages/player3d/src/player_body.yh","line":7,"sha256":"d336c6afa6c1aac127d478a053b353af804910a4cd3d09c2d02d89cbc5517a51"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use dolphinPlayerBody","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using dolphin.player3d\n\n// Use dolphin.player3d in Yeho source.\ndolphinPlayerBody sample = dolphinPlayerBody()\nConsole.Log(Text.From(sample.x))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_player3d__dolphinplayerbody\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.player3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/player3d\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"f88c0ced05a0d1684b62dbbb7ad320301a292e66e2bcf5951ba020bf5628964b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-SetSolids-6","title":"dolphinPlayerBody.SetSolids","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.player3d\n\n// Set solids.\ndolphinPlayerBody instance = dolphinPlayerBody()\nlist of dolphinAabb3 argument_boxes = []\nbool result = instance.SetSolids(argument_boxes)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_player3d__dolphinplayerbody\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.player3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/player3d\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"c38771a210c7073c2e0bc0da095b1538eff65dca07765af255c303dfaab757ce","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-PositionClear-7","title":"dolphinPlayerBody.PositionClear","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.player3d\n\n// Position clear.\ndolphinPlayerBody instance = dolphinPlayerBody()\nfloat argument_x = 1.0\nfloat argument_y = 1.0\nfloat argument_z = 1.0\nbool result = instance.PositionClear(argument_x, argument_y, argument_z)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_player3d__dolphinplayerbody\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.player3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/player3d\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"091774d5c684ad90d52036a89d6a2976cfccd0e1cbffeb29023636f3382b3f3e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Spawn-8","title":"dolphinPlayerBody.Spawn","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.player3d\n\n// Spawn.\ndolphinPlayerBody instance = dolphinPlayerBody()\nVector3 argument_feet = Vector3(1.0, 1.0, 1.0)\nfloat argument_yaw = 1.0\nbool result = instance.Spawn(argument_feet, argument_yaw)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_player3d__dolphinplayerbody\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.player3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/player3d\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"6f8967faeb98e046426c844a1cd3be33e6549ae711388592f45b69c0a4318210","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Look-9","title":"dolphinPlayerBody.Look","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.player3d\n\n// Look.\ndolphinPlayerBody instance = dolphinPlayerBody()\nfloat argument_dx = 1.0\nfloat argument_dy = 1.0\ninstance.Look(argument_dx, argument_dy)\nConsole.Log(\"Look completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_player3d__dolphinplayerbody\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.player3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/player3d\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"d7caab4be79a1dae893d1be809a288128e544a2474a053e73eb9180bffd9bc16","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-SweepAxis-10","title":"dolphinPlayerBody.SweepAxis","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.player3d\n\n// Sweep axis.\ndolphinPlayerBody instance = dolphinPlayerBody()\nint argument_axis = 1\nfloat argument_amount = 1.0\nfloat result = instance.SweepAxis(argument_axis, argument_amount)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_player3d__dolphinplayerbody\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.player3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/player3d\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"065f29b5f89b936566584e13d0f316d83bd4b36afd92a2b3dd5628adc045781a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Step-11","title":"dolphinPlayerBody.Step","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.player3d\n\n// Step.\ndolphinPlayerBody instance = dolphinPlayerBody()\nfloat argument_forward = 1.0\nfloat argument_right = 1.0\nbool argument_jump = true\nbool argument_sprint = true\nfloat argument_seconds = 1.0\nbool result = instance.Step(argument_forward, argument_right, argument_jump, argument_sprint, argument_seconds)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_player3d__dolphinplayerbody\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.player3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/player3d\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"e8073388c206e2591bf932a48505de2a76e8bbdd6de9a6415a0f87611fd5b4cd","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-SetHead-12","title":"dolphinPlayerBody.SetHead","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.player3d\n\n// Set head.\ndolphinPlayerBody instance = dolphinPlayerBody()\ndolphinAffine3 argument_pose = dolphinAffine3()\nbool result = instance.SetHead(argument_pose)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_player3d__dolphinplayerbody\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.player3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/player3d\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"f1335d2c36885d1f1b325f4843f205163d679e86c02caf725e10743ea10582fa","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-EyePose-13","title":"dolphinPlayerBody.EyePose","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.player3d\n\n// Eye pose.\ndolphinPlayerBody instance = dolphinPlayerBody()\nfloat argument_lateral = 1.0\ndolphinAffine3 result = instance.EyePose(argument_lateral)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_player3d__dolphinplayerbody\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.player3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/player3d\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"7b3fba6a874114d9291dc18f07f03b6861b6e01bb7d44cf48f9b620791582bfb","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["solids","x","radius","grounded","head","dolphinPlayerBody","SetSolids","PositionClear","Spawn","Look","SweepAxis","Step","SetHead","EyePose"],"url":"https://demonhunterlabs.com/academy/api?item=dolphin.player3d--dolphinPlayerBody","json":"https://demonhunterlabs.com/reference/items/dolphin.player3d--dolphinPlayerBody.json","markdown":"https://demonhunterlabs.com/reference/text/dolphin.player3d--dolphinPlayerBody.md"}
