Unreal Geometry Script plugin for AR

 

I've created a dynamic mesh using Geometry Script plugin in unreal. AximmetryAR tag has been added to the actor as you can see but the object doesn't appear in Aximmetry Composer.

I also added some Get Aximmetry Scalar parameters in the event On Rebuild Generated Mesh and They don't appear like pin inputs in unreal module.

Thanks in advance



   Sergio Gómez

 
Profile Image
Eifert@Aximmetry
  -  

Hi,

Geometry Script only supports running in Unreal Editor currently. So you can only use it in Live Sync mode with Aximmetry.
More on it here: https://my.aximmetry.com/post/2721-procedural-mesh-not-showing
The Aximmetry pins probably won't appear because it runs into the error of the Geometry Script.

Warmest regards,

 
Profile Image
Sergio Gómez
  -  

Thank you very much, now I have another problem due to I need to change some properties from Aximmetry so I did "Spawn actor" and add actor tag but it's not shown through Aximmetry AR Camera



 
Profile Image
Eifert@Aximmetry
  -  

Hi,

After spawning the object, you need to call the Aximmetry AR Tracked Camera's Update ARObjects function:

You can easily do this from a Level Blueprint. In other blueprints, you will have to search for the camera.


You don't need to set the AximmetryAR tag like in your blueprint if it is already set in your actor.
If you are lazy to set it in the actors, you can create the AximmetryAR tag like this:

You can copy the blueprint from here: https://blueprintue.com/blueprint/xqvi392q/

Warmest regards,

 
Profile Image
Sergio Gómez
  -  

Perfect Eifert,

Thanks again

 
Profile Image
PetreV
  -  

@Eifert_Aximmetry

Hello!

I have a blueprint made in Unreal 5.1 for Axy, in which I used SpawnActor to repeat an object, I tried to find the function "Update ARObjects" but it is not to be found!

How do I proceed? I don't understand why I don't have this function!

 
Profile Image
Eifert@Aximmetry
  -  

Hi,

The Update ARObjects function comes from Aximmetry's Unreal camera blueprint.

The likely source of your problem is that you can only reference objects from the level in the Level Blueprint.
Otherwise, you can do this:
Get Aximmetry Camera actor in the level:

Note, find all Actors is a slow operation, use with caution e.g. do not use every frame.

Get the first result:

And then you can call the Update ARObjects function:



Warmest regards,


 
Profile Image
PetreV
  -  

Hello Eifert

What am I doing wrong, I have this Blueprint, from SpawnActor I connected Get All Actor Of Class, then Get from Array and Update ARObjects is not there, I checked and unchecked Context Sensitive and still nothing! I have to pray at church first :)))

 
Profile Image
Eifert@Aximmetry
  -  

Hi,

Do you use Aximmetry 2023.1.0, and have you updated the AR camera to it by adding it again:

If so, do you see the UpdateARObjects function in the AR camera's blueprint?:

Warmest regards,

 
Profile Image
PetreV
  -  

Thanks for the support, I'm using the latest version of Aximmetry, 2023 1.0 and Unreal Engine for Axy 5.1! It seems that you have some extra functions! :)))

I looked for this function and it is not there, neither on the computer with the Broadcast license nor on the computer where I use the free license! Can you please help me with the blueprint for this function please, maybe I can do something :) Can I make a new function and add it now?


 
Profile Image
Eifert@Aximmetry
  -  

Hi,

I am sorry, I was looking at the next version of Aximmetry. This function is not yet in the 2023.1.0 version.

You could wait until the next release of Aximmetry. Or you could try using an Event Dispatcher and hijack the logic that is starting here:

However, this will likely cause other issues.

Warmest regards,

 
Profile Image
PetreV
  -  

It's clearly not the desired result, but my barchart is visible in Aximmetry! :)))))


In other words, what other options do I have to solve the situation? This is what the Outliner Window looks like in Unreal! Basically SpawnActor duplicates the object but these new clones do not have AximmetryAR tag and cannot be seen in Aximmetry!


 
Profile Image
Eifert@Aximmetry
  -  

Hi,

You can put on them the tag in the blueprint like this:

Or just have the tag in your BP_Single_Bar file. As you don't need to have these BP_Single_Bar Actor objects instantiated in the level (map) to change these actor settings on them.

Warmest regards,

 
Profile Image
PetreV
  -  

Eifert, Thanks a lot for the support! Now every BP_Single_Bar has AximmetryAR tag but it still doesn't work! So the problem is different! Thank you :)

 
Profile Image
Eifert@Aximmetry
  -  

Hi,

Instead of the Event Dispatcher, you could delay the AR Camera's BeginPlay event by a few seconds. While it is delayed the bars should be spawned. However, after the delay, you won't be able to spawn any more bars.


Otherwise, you will probably need to significantly edit the AR Camera blueprint. Or wait for the next release of Aximmetry when you will be able to use the Update ARObjects function.

Warmest regards,

 
Profile Image
PetreV
  -  

Thank you for your support! I tried this method too, and it doesn't work! Probably even the Update ARObjects function would not solve the problem! Because in the end the newly created objects contained AximmetryAR Tag, but nothing, it was still not visible in Aximmetry!

I have now created a new barchart in which I no longer used the spawn actor to replicate the object and everything is ok! It's just that I have to start over with the blueprint and it's not easy at all! :)))