Skip to content

Commit

Permalink
Fixed problem with Rotation speed not being applied correctly.
Browse files Browse the repository at this point in the history
I also added units to the properties.
  • Loading branch information
PANDAKO-GitHub authored Oct 31, 2024
1 parent f149bca commit 4a89305
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions extensions/community/NavMeshPathfinding.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "NavMeshPathfinding",
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Maps and Navigation/Maps and Navigation_map_find_search.svg",
"shortDescription": "Pathfinding allows to compute an efficient path for objects, avoiding obstacles on the way.",
"version": "0.2.3",
"version": "0.2.4",
"description": [
"In comparison to the built-in pathfinding behavior, this one aims to:",
"- better respect obstacle shapes",
Expand Down Expand Up @@ -4368,7 +4368,7 @@
" var isometricRatio = manager.configuration._getIsometricRatio();",
" var owner = this.behavior.owner;",
" var angleOffset = this.behavior._getAngleOffset();",
" var angularMaxSpeed = this.behavior._getMaxSpeed();",
" var angularMaxSpeed = this.behavior._getAngularMaxSpeed();",
" var rotateObject = this.behavior._getRotateObject();",
" var timeDelta = owner.getElapsedTime(instanceContainer) / 1000;",
" this.pathFollower.step(timeDelta);",
Expand Down Expand Up @@ -5312,7 +5312,7 @@
"objectGroups": []
},
{
"description": "Draw the navigation mesh used for the object.",
"description": "Draw the navigation mesh used for the object.\nThe \"Move to a position\" action must have been performed at least once before this action is executed.",
"fullName": "Draw navigation mesh",
"functionType": "Action",
"group": "Debug",
Expand Down Expand Up @@ -5980,6 +5980,7 @@
{
"value": "400",
"type": "Number",
"unit": "PixelAcceleration",
"label": "Acceleration",
"description": "",
"group": "",
Expand All @@ -5989,6 +5990,7 @@
{
"value": "200",
"type": "Number",
"unit": "PixelSpeed",
"label": "Maximum speed",
"description": "",
"group": "",
Expand All @@ -5998,6 +6000,7 @@
{
"value": "180",
"type": "Number",
"unit": "AngularSpeed",
"label": "Rotation speed",
"description": "",
"group": "Rotation",
Expand All @@ -6016,6 +6019,7 @@
{
"value": "0",
"type": "Number",
"unit": "DegreeAngle",
"label": "Angle offset",
"description": "",
"group": "Rotation",
Expand All @@ -6037,6 +6041,7 @@
{
"value": "0",
"type": "Number",
"unit": "Pixel",
"label": "Extra border size",
"description": "",
"group": "Collision",
Expand Down Expand Up @@ -6303,6 +6308,7 @@
"functionType": "ActionWithOperator",
"getterName": "CellSize",
"name": "SetCellSize",
"private": true,
"sentence": "",
"events": [
{
Expand Down Expand Up @@ -6394,6 +6400,7 @@
"functionType": "ActionWithOperator",
"getterName": "AreaLeftBound",
"name": "SetAreaLeftBound",
"private": true,
"sentence": "",
"events": [
{
Expand Down Expand Up @@ -6485,6 +6492,7 @@
"functionType": "ActionWithOperator",
"getterName": "AreaTopBound",
"name": "SetAreaTopBound",
"private": true,
"sentence": "",
"events": [
{
Expand Down Expand Up @@ -6576,6 +6584,7 @@
"functionType": "ActionWithOperator",
"getterName": "AreaRightBound",
"name": "SetAreaRightBound",
"private": true,
"sentence": "",
"events": [
{
Expand Down Expand Up @@ -6667,6 +6676,7 @@
"functionType": "ActionWithOperator",
"getterName": "AreaBottomBound",
"name": "SetAreaBottomBound",
"private": true,
"sentence": "",
"events": [
{
Expand Down Expand Up @@ -6769,6 +6779,7 @@
{
"value": "10",
"type": "Number",
"unit": "Pixel",
"label": "Cell size",
"description": "Cell size for obstacle collision mask rasterization.",
"group": "",
Expand All @@ -6778,6 +6789,7 @@
{
"value": "0",
"type": "Number",
"unit": "Pixel",
"label": "Area left bound",
"description": "The left bound of the area where objects can go in the scene.",
"group": "",
Expand All @@ -6787,6 +6799,7 @@
{
"value": "0",
"type": "Number",
"unit": "Pixel",
"label": "Area top bound",
"description": "The top bound of the area where objects can go in the scene.",
"group": "",
Expand All @@ -6796,6 +6809,7 @@
{
"value": "0",
"type": "Number",
"unit": "Pixel",
"label": "Area right bound",
"description": "The right bound of the area where objects can go in the scene (default to the game resolution).",
"group": "",
Expand All @@ -6805,6 +6819,7 @@
{
"value": "0",
"type": "Number",
"unit": "Pixel",
"label": "Area bottom bound",
"description": "The bottom bound of the area where objects can go in the scene (default to the game resolution).",
"group": "",
Expand Down

0 comments on commit 4a89305

Please sign in to comment.