• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

ky1001

Well-known member
Featured Contributor
Joined
Sep 18, 2020
Messages
324
Reactions
1,476
ky1001 submitted a new resource:

HeadLightLink - Connect an Atom such as a light source or CUA to the Player's CenterEye, LeftHand, and RightHand.

The famous HeadLight.cs of Extraltodeus has been modified with the permission of the author.

Modification details:
1) Added Parent Link
2) The connection destination can now be selected from Player's CenterEye, LeftHand, and RightHand.

How to use:
1) Load this plug-in into Atom such as light source or CUA.
2) Select the connection destination with Choose Target
3) Adjust the position and direction of Atom with the slider.

View attachment 85323

Read more about this resource...
 
ky1001 updated HeadLightLink with a new update entry:

Update

Update:
1) If the rotation Y value is 0, the orientation of some atoms, such as the WebPanel, is on the back, so a "Reverse" toggle has been added to facilitate correction.
2) When the Atom is large, it was found that the entire Atom cannot be seen when the maximum value of position Z is 2, so the maximum value of position Z was changed to 10.

Read the rest of this update entry...
 
I made a prototype plug-in that added Tracker1 to Tracker8 to Target selection. Interested parties please try.
 

Attachments

  • HeadLightLink.cs
    14.1 KB · Views: 0
ky1001 updated HeadLightLink with a new update entry:

Update

Update details (ver.5)
Added Tracker1 to Tracker8 to the "Choose Target" selection as suggested by @Origin69. This can actually be selected by people who don't have Tracker.
Use Tracker selection in VR mode. If you don't have Tracker, you can choose any number. If you have a tracker, I think an unused number is good, but I don't have a tracker, so I can't confirm if it works properly with a tracker. Please let me know if you have any problems.
The difference in behavior...

Read the rest of this update entry...
 
Thank you for this ky. My scene will be uploaded soon. I'll also make a demo scene for you so people can see what this can do.
I'm looking forward to seeing the finished scene.
 
ky1001 updated HeadLightLink with a new update entry:

Update

Update (var6)
At the suggestion of @RedCooler, I added the ability to switch Parent Atom to [CameraRig] in Plugin's Custom UI. When using Embody, Atom including HeadLightLink may vibrate slightly, which may be improved by setting Parent Atom to [CameraRig].
I used @Stopper's LinkTriggers as a reference for how to switch the Parent Atom.

Read the rest of this update entry...
 
Hi,

I've started experimenting with this plugin but I've hit a error on my scene and I've yet to find a way to prevent having the error message:

Code:
!> HeadLightLink.Init: System.NullReferenceException: Object reference not set to an instance of an object
  at ExtraltodeusPlugin.HeadLightLink.Init () [0x00000] in <filename unknown>:0
!> Timeline.RebuildAnimationNowImpl: Suspiciously long animation rebuild (00:00:01.7530085)

The plugin continues to work as intended, the only thing missing is the choice to use [CameraRig], but everything else shows and works fine.
Reloading the plugin brings back the [CameraRig] option, but saving loading the scene the error appears again.

The plugin is on a empty atom, the atom is ON and the plugin is enabled in the plugins tab. The empty atom has one child atom to show a UI that is not ON, but I would assume it wouldn't matter.
I'll try to save it on a emptier scene and see if it still spits out a error message.

Thank you.

Edit:

Made a empty scene with the plugin and atoms I have on my scene, and trying out different things I still get the error message.
Attached if you want to take a look.
 

Attachments

  • test.json
    11.6 KB · Views: 0
Last edited:
Hi,

I've started experimenting with this plugin but I've hit a error on my scene and I've yet to find a way to prevent having the error message:

Code:
!> HeadLightLink.Init: System.NullReferenceException: Object reference not set to an instance of an object
  at ExtraltodeusPlugin.HeadLightLink.Init () [0x00000] in <filename unknown>:0
!> Timeline.RebuildAnimationNowImpl: Suspiciously long animation rebuild (00:00:01.7530085)

The plugin continues to work as intended, the only thing missing is the choice to use [CameraRig], but everything else shows and works fine.
Reloading the plugin brings back the [CameraRig] option, but saving loading the scene the error appears again.

The plugin is on a empty atom, the atom is ON and the plugin is enabled in the plugins tab. The empty atom has one child atom to show a UI that is not ON, but I would assume it wouldn't matter.
I'll try to save it on a emptier scene and see if it still spits out a error message.

Thank you.

Edit:

Made a empty scene with the plugin and atoms I have on my scene, and trying out different things I still get the error message.
Attached if you want to take a look.
Sorry for inconvenience. I confirmed the phenomenon. I will consider countermeasures.
 
Hi,

I've started experimenting with this plugin but I've hit a error on my scene and I've yet to find a way to prevent having the error message:

Code:
!> HeadLightLink.Init: System.NullReferenceException: Object reference not set to an instance of an object
  at ExtraltodeusPlugin.HeadLightLink.Init () [0x00000] in <filename unknown>:0
!> Timeline.RebuildAnimationNowImpl: Suspiciously long animation rebuild (00:00:01.7530085)

The plugin continues to work as intended, the only thing missing is the choice to use [CameraRig], but everything else shows and works fine.
Reloading the plugin brings back the [CameraRig] option, but saving loading the scene the error appears again.

The plugin is on a empty atom, the atom is ON and the plugin is enabled in the plugins tab. The empty atom has one child atom to show a UI that is not ON, but I would assume it wouldn't matter.
I'll try to save it on a emptier scene and see if it still spits out a error message.

Thank you.

Edit:

Made a empty scene with the plugin and atoms I have on my scene, and trying out different things I still get the error message.
Attached if you want to take a look.
An error occurred when loading the scene due to the functionality added in var6. When an error occurred, the functionality added with var6 was not working.
I took measures. I think it's okay, but could you please check it?
I can't attach var, so I'll attach a cs file.
 

Attachments

  • HeadLightLink.cs
    15.8 KB · Views: 0
An error occurred when loading the scene due to the functionality added in var6. When an error occurred, the functionality added with var6 was not working.
I took measures. I think it's okay, but could you please check it?
I can't attach var, so I'll attach a cs file.
Amazing. Thank you for being so quick on a fix.
I'll try it out within the hour and report back.
 
I overwrote the VAR's cs file with the one above and it works great, no more error message ?

I still had the Timeline error depending on how I used the plugin at scene load, but maybe it was a fluke as I don't see it now in the way I'm using Headlight.
Code:
!> Timeline.RebuildAnimationNowImpl: Suspiciously long animation rebuild (00:00:01.7530085)
I'll update you if I see it again.

Thank you so much. Hopefully you can have a new VAR uploaded soon.
 
I overwrote the VAR's cs file with the one above and it works great, no more error message ?

I still had the Timeline error depending on how I used the plugin at scene load, but maybe it was a fluke as I don't see it now in the way I'm using Headlight.
Code:
!> Timeline.RebuildAnimationNowImpl: Suspiciously long animation rebuild (00:00:01.7530085)
I'll update you if I see it again.

Thank you so much. Hopefully you can have a new VAR uploaded soon.
I have posted the updated file to HUB. Thank you for your cooperation.
 
Back
Top Bottom