Jump to content
  • entries
    943
  • comments
    5,899
  • views
    923,763

Documentation Update 2


Josh

4,623 views

 Share

I've taken your suggestions and incorporated the fixes into the new documentation system here:

https://www.leadwerks.com/learn

 

All classes and commands are alphabetized, with classes listed first.

 

All pages in the API Reference should be working now.

 

If a page does not appear in the old docs, or if a command does not have an example, it will not appear in the new docs, as I am not changing the content right now.

 

Please let me know if the table of contents of pages have any errors.

 Share

13 Comments


Recommended Comments

This looks pretty done! planning to update the "Learn" button in the near future so it takes you to the new API reference?

 

It would also be nice if Search was at least updated to prioritize classes. For instance if you search "Asset" the Asset class is shown 3rd instead of first, which is kind of ugly..

 

I personally think a quick-search would be nice that didn't take into account tutorials but searched for 1st classes, then methods, etc. Or sort into search results for tutorials, classes, methods, variables..

 

Overall great work though, huge improvement.

Link to comment

Searching works pretty well.

But where are the c++ examples ?

Select C++ in the top right.

Link to comment

BuildNavMesh

 

This function builds a navigation mesh for AI pathfinding.

Returns

 

Returns a 4x4 matrix describing the tire's position and orientation in space.

  • Upvote 2
Link to comment

BuildNavMesh

 

This function builds a navigation mesh for AI pathfinding.

Returns

 

Returns a 4x4 matrix describing the tire's position and orientation in space.

hmmm this may explain why none of my vehicles work....

  • Upvote 2
Link to comment

Left panel with contents and index doesn't scroll correctly on iPad. Right side scrolls right now so that's good.

Link to comment

Error in C++ - ElseIf

 

 

int n = 2;
if (n == 1)
{
   Print("n equals 1");
}
elseif(n == 2)
{
   Print("n equals 2");
}
elseif(n == 3)
{
   Print("n equals 3");
}

 

should be

 

int n = 2;
if (n == 1)
{
   Print("n equals 1");
}
else if(n == 2)
{
   Print("n equals 2");
}
else if(n == 3)
{
   Print("n equals 3");
}

Link to comment

 

Quote

 

EnableMotor

This function turns on a hinge or slider joint's built-in actuator and allows fine control over joint movement. Use this with the command SetMotorAngle to control joints.

This command is not available for Lua.

 

This command IS available for lua.

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...