How to 2D drag, drop & rotate?

Hi

I’m trying to design a TrackEditor for the BGE_AirRace.

I would like to drag, drop & rotate predefined objects with mouse in ‘2D-mode’ from the top view.

I found some samples for the 3D view, but bot for the 2D.

Any help?

Thanks

i presume you want the track sections to interlock?
if so, you will need to do one of two things.

  1. either make it so you can only rotate track at 90 degrees
    2)or have the track pieces track to the end of each piece of track.
    it’ll be in python. in the mean time look at this whilst i make a demo
    http://blenderarchive.hostilestudios.com/list.php
    look at “Mouse track to cursor”
    thanks

http://blenderarchive.hostilestudios.com/list.php
Look at Track Editor for the demo!
please feel free to check out the other demo’s!