NetLogo tilt and roll issues in 3D model

I am building a model, which turtles move to the nearest green patch (cube).

    nearest-patch
    facexyz nearest-patch
    fd distance nearest-patch

However, the angles of turtles' tilt and roll have changed after they arrive at each patch. How to make each turtle' tilt and roll to be 0 which turtle will parallel with XY plane, after they arrive on a patch. Thanks.

Answers


Turtles have pitch and roll variables that you can set like any other variables. So, you can do set pitch 0 and set roll 0 to align them with the XY plane.


Need Your Help

Gracefully stopping a build step (plugin) on build abort

jenkins jenkins-plugins

I have a plugin in Jenkins that operates a remote server via rest.

Is it possible to configure a UITableView to allow multiple-selection?

iphone cocoa-touch uitableview multiple-select

For the iPhone, is it possible to configure a UITableView such that it will allow multiple-selection?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.