π§΅#Unity help
Hi, could you share more info what you tried or whats not working? Please also include Unity and Needle Engine versions
it works now but iam stuck at This could mean you forgot to add a npmdef to your ExportInfo this
i dont get it i have copied the sample script for play animation on click changed it to play animaiton on trigger but its not working
Hi, could you be more specific: copied it to where? Make sure it's in your web projects scripts directory (src/scripts) or if you created a npmdef package make sure the npmdef asset is added to the exportinfo dependencies array (just as in the samples).
ok
here is the scenario
i am working a a game project calleld wolf
it will have a single character wolf will be player in multiplayer environment wolf will have movements animations and attack animations players can attack each othe
and after ever 5 mins timer a monsters will spawn to attack players
players will respawn after they die
ok the issue is iam a unity developer but iam new to javacsript and Three.js
it would really appreciate if you could guide me especially in multiplayer implementation Thank you
Ok thanks for the info, sounds cool. But you didnt answer my question
iam using 4.4.0 alpha 2 and unity version 2022.3.60
this is one of the problems iam facing my character in multiplayer scene are synced
i want them to move seperately
iam using character controller but when i check the firstperson multiplayer scene from samples it works just fine what am i missing there
looks like you're not spawning the character with PlayerSync? each character should be controlled by one user. I recommend checking out the multiplayer sample for how the scene is set up π
ok what i did is that i made this character child of that multiplayer character then turn off the main sphere this works now let me share the video with you
now the issue which iam facing is the animations when i run both of our animations are being played but if the other player is controlled by someone else then i dont see the animations being played so its some kind of animation sync issue
what is export info i wrote a new script and i get this error forgot to add npmdef to export info i am unable to understand how this works
ExportInfo is the old name for the Needle Engine component - it has a dependencies array. That's relevant if you use npmdefs
yes right clicked created this file open its location then pasted my script right next to it the script adds into this file then i place it in dependency arry but i get errors when i do that
ok i have solved most of the issues now iam stuck at animation sync when the other player moves i cant see its runing animations but i can see falling animation also jumping animaitons does not work either
Have you checked the SyncedAnimator component? It's in one of the samples as well
yes i applied that ok the thing is when i use buttons example to play animations they works fine but when i use character controller when the animaitons of running is played by that it does not sync
do you have any example where character controller animations gets synced i have seen a youtube vide but he made a custom script for that purpose
why navmesh has issues with rigidbody
That's not enough info π please open a forum post with more info so we can support you: https://forum.needle.tools
ok Thank you
<@519636239658385605> i have opened a forum
<@519636239658385605> can we achieve Remote Assist just like microsoft hololense using dawing and screen sharing needle ?
like this
One thing worth noting though is that none of the current-gen headsets allow capturing the AR stream as video (neither in native nor in browser). Android phones allow it
yeah thats what i was thinking ill give it a try
thanks
Ok! Would be great if you could open a forum post at https://forum.needle.tools if you have more questions.
ok