﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	i_links	o_links
158	Animated Objects	patrick	patrick	"= Intro =
It would look much better, if objects (like enemies, obstables, ...) would not just pop up infront of the player as it is usual for oldskool vertical scroller games, but would fly in from behind or wherever. Look at this [http://www.youtube.com/watch?v=b7XJObJX8EI video] and you will know what I mean :D

http://www.excellentcontent.com/emuzone/rsg3.jpg
http://www.sega-universe.de/img/articles/50/Radiant-Silvergun-jap-10.gif
(images: both from Radiant Silvergun )[[br]]
[[br]]
http://upload.wikimedia.org/wikipedia/de/thumb/4/44/Spline_interpolation.png/250px-Spline_interpolation.png [[br]]
(image from [http://www.wikipedia.org wikipedia], splines)


= Goal =
 * Implement a scripting interface to enemy spaceships that gives the programmer a easy way to generate animated movements
 * movement is defined by waypoints (3D vectors) in space and times they need to reach these
 * the track is a numerical approximation: eg. bezier lines or splines


= Information Gathering =
 * Be sure to watch this [http://www.youtube.com/watch?v=b7XJObJX8EI video], there you can see how ships enter the screen
 * Read the article about [http://de.wikipedia.org/wiki/Spline splies] from wikipedia
 * Here you will find an old source code creating a track from some discrete points [https://dev.orxonox.net/browser/trunk/src/util/track directory].


= Implementation =
 * create a new Track class based on the old [https://dev.orxonox.net/browser/trunk/src/util/track track system] (just without forks/joins, and with adjustable/const speed)
 * simple interface: 
   * adding points for the track, time marks and movement functions (function of speed)
   * resetting the track
   * getting the position of an object moving on this track for a given time
 * the track should be drawable for visualizing and debug reasons
"	task	reopened	critical	Old Orxonox tickets orx-v0	GeneralFramework						
