Animated Campus Vehicles: Difference between revisions

From CS486wiki
Jump to navigationJump to search
Content deleted Content added
Core (talk | contribs)
No edit summary   (change visibility)
Core (talk | contribs)
Line 10: Line 10:
The EZScript module is responsible for the vehicle movements within the world. EZScript cell-scripting allows for a JavaScript based script file to be executed on a cell. More documentation can be found [http://wiki.openwonderland.org/Wiki.jsp?page=JagWire here].
The EZScript module is responsible for the vehicle movements within the world. EZScript cell-scripting allows for a JavaScript based script file to be executed on a cell. More documentation can be found [http://wiki.openwonderland.org/Wiki.jsp?page=JagWire here].
For this motion to function, the vehicle which is being moved must have the motion module attached to it and all way point objects must have EZScrpit enabled so that they can be interacted with using commands from the vehicle. It is further essential that the latest version of EZScript build be used which can be accessed from the googlecode repository.
For this motion to function, the vehicle which is being moved must have the motion module attached to it and all way point objects must have EZScrpit enabled so that they can be interacted with using commands from the vehicle. It is further essential that the latest version of EZScript build be used which can be accessed from the googlecode repository.

To create a path the user must place down a series of objects in the world and name them given a the scheme <Group_Name>-<WayPoint_Number>. Using this scheme one can use basic string concatenation and a loop to iterate through all of the way points in a given group.


==Vehicle Development==
==Vehicle Development==

Revision as of 06:25, 15 May 2012

This page describes how EZScript was used to animate campus vehicles


Project Description

The Animated Campus Vehicles project is a subproject of the Virtual BU project. This project's goals were to:

- Create a campus maintenance vehicle (Humvee golf cart)

- Build a program or script to have the vehicle follow a given path

EZScript Implementation

The EZScript module is responsible for the vehicle movements within the world. EZScript cell-scripting allows for a JavaScript based script file to be executed on a cell. More documentation can be found here. For this motion to function, the vehicle which is being moved must have the motion module attached to it and all way point objects must have EZScrpit enabled so that they can be interacted with using commands from the vehicle. It is further essential that the latest version of EZScript build be used which can be accessed from the googlecode repository.

To create a path the user must place down a series of objects in the world and name them given a the scheme <Group_Name>-<WayPoint_Number>. Using this scheme one can use basic string concatenation and a loop to iterate through all of the way points in a given group.

Vehicle Development

The Binghamton University maintenance vehicle was developed using a GoogleSketchUp8.

Bugs/Fixes

Bug found with EZScript when using the EZScript function GetCellRotation when used at a high rate