Jump to content
Sign in to follow this  
Igor Q.

Get Rotation Script

Recommended Posts

Hi

I'm having trouble with a code and the problem is very unusual.

Case 1

Step 1) I spawn 4 objects in a region and label them as Group 1.

Step 2) I spawn 4 objects in another region and label them as Group 2.

I then run the trigger (on a lever)

5c1497dadfd38_RotationTriggers.png.500dc8120e4c6932d184482f48c30876.png

Step 3) Count: 4

 

Case 2

Step 1) I place 4 objects in Group 1

Step 2) I place 4 objects in Group 2

I then run the trigger

Step 3) Count: 4

Case 3/4

I place 4 objects in a group, and spawn 4 objects in the other group

I then run the trigger

Count: 1

Case 5

I check the rotation of objects spawned vs objects placed however it shows them as identical.

Untitled.png.8c1c6de9a1adbfb0d219d6ae488a7ff4.png

???

 

 

Edited by Igor Q.

Share this post


Link to post
Share on other sites

Hi, probably they are almost the same. In output you see only first 3 decimal numbers. Try to you Distance instruction between 2 vectors and check if it is small number.

  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×