• entries
    622
  • comments
    4,449
  • views
    670,558

Documentation Update 2

Josh

379 views

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.


0
  Report Entry


13 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.

0

Share this comment


Link to comment

Searching works pretty well.

But where are the c++ examples ?

0

Share this comment


Link to comment

Searching works pretty well.

But where are the c++ examples ?

Select C++ in the top right.

0

Share this comment


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.

2

Share this comment


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....

2

Share this comment


Link to comment

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

0

Share this comment


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");
}

0

Share this comment


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.

0

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Create Your Account

Sign in

Already have an account? Sign in here.


Sign In Now