Unit Editor Snap Points

impulsivia
Explorer
Explorer

Unit Editor Snap Points

impulsivia
Explorer
Explorer

Dear all,

 

For our business it is important that we can pick up an object and when placing it, it should snap in a predefined position

 

While working on snap points with 3d max Interactive, I found the Snap Points under the CReate menu in Unit Editor. Searching the web did not give me any documentation on this. Is there somebody who can help me with this?

 

So on 2 things I would like help:

  1. Snapping object in place (not to the grid, but predifined positions)
  2. What are the Snap Points in the Create menu in Unit Editor.

 

Many Thanks!!

Reply
Reply
0 Likes
Reply
470 Views
4 Replies
Replies (4)

jordan.giboney
Autodesk Support
Autodesk Support

Hi @impulsivia 

 

Thanks for posting! Have you had a chance to check out our Help Documentation on this topic? I would recommend taking a look at this page: Stingray Help | Snap an object

 

Also, regarding your Snap Points question, I believe it was discussed on this thread: Snap points in the Unit Editor

 

Thanks again for being a part of our community!



Jordan Giboney
Technical Solutions Engineer | Media & Entertainment
Installation & Licensing forums | Contact product support | Autodesk AREA


Reply
Reply
0 Likes

ThijsSchade
Participant
Participant

Hi Jordan,

 

Thanks for your reply.

The first hint you gave was for the editor it self (when building the VR)

The second hint is to a topic which discribes what I want (in game snapping), but there was never a solution given..

 

But thanks for thinking with me, greatly appreciated

Reply
Reply
0 Likes

__ben__
Alumni
Alumni

There is no built-in solution to do exactly what you are looking for. Gameplay coding is required as noted by the accepted solution in the second link. 

 

The unit snapping only snaps to a fixed grid (say every 1 meter). Anything more complex or involving objects to snap to each other falls within the realm of gameplay logic, not engine functionality since different applications require different snapping functionality.

 

Stingray does provide the building blocks to implement your own customized snapping. LUA scripting for the snapping logic and physics actors/collision detection to detect complex objects touching each other or certain snap points. 

 

But we don't have an out-of-the box solution or example that does exactly what you want and coding advanced snapping functionality can become a little complex. 

 

Reply
Reply
0 Likes

ThijsSchade
Participant
Participant

Dear Ben,

 

Thanks for your latest reply.

I sort of already new your answer, but was wondering if anybody already done this lua scripting thing.

 

Can you help me with the following challenge:

You said something about actor collision detection.

Can you make an collision unique? in a send that every collision between 2 actors can creat a different event? right now I only found that you can detect collision yes or no. But not specify between which objects.

 

I would like to be able to say if A and B collide something happens, but if A and C collide something else happens and even A and D  can happen.

 

I hope you understand my question, if not I will try to make it clear.

 

Thnaks for reaching out.

kind regards,

Thijs

Reply
Reply
0 Likes