Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to move and align the 'Signal' asset in v0.1.0 #53

Open
abhi5691 opened this issue Nov 17, 2020 · 3 comments
Open

How to move and align the 'Signal' asset in v0.1.0 #53

abhi5691 opened this issue Nov 17, 2020 · 3 comments

Comments

@abhi5691
Copy link

abhi5691 commented Nov 17, 2020

Hi,

Thanks for this awesome tool.
I am using the MapToolbox v0.1.0 with Unity 2019.4.14 on my Windows machine. I am able to insert an AutowareADASMap asset into my project hierarchy, and successfully add lanes, stoplines etc. Each of these assets adds ADASGoSlicesXX object for each lane/stopline instance.
But when I add a new Signal asset, there is a 'NewGameObject' added as a child to ADASMapSignal, and an ADASMapPole. I see a TL cone added at map origin, but I cannot move (neither rotate) this object by dragging. This makes it near impossible to precisely assign this asset to actual TLs in .pcd map.

image

Can you please help me with this or point me to a tutorial where you demonstrate adding a Traffic Light.

Thanks

@alperenbayraktar
Copy link

You can also hover over the "Position X-Y-Z" label on the Transform component and drag them to left or right to adjust. But direction gizmos not showing is another problem. Can you see the direction gizmos with other kind of objects? Please try with Autoware objects and then just with default unity 3d-2d objects if possible.

@alperenbayraktar
Copy link

it's a bit late but for those who have this problem, it's because setting Tools.current = Tool.None;
this mean setting this part of unity editor to no tool:
image
So, simply click on the move(2nd) tool to reveal handles.
Or create an editor class for those types and add this:

private void OnSceneGUI() //runs every frame when scene is opened
{
      Tools.current = Tool.Move;            
}

@nhk035
Copy link

nhk035 commented Aug 18, 2021

have a look at this #38 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants