#Unity Live2d Throwing Scripts

1 messages · Page 1 of 1 (latest)

sharp root
#

https://github.com/Nohealforu/UnityLive2dThrowingScripts/tree/main

I made some scripts and an example/testing project for usage. Composed of a script to attach to an empty targeter to link to model, a script to attach to empty spawners that will fire at selected target, and a script to attach to 2d/3d objects to be used as projectiles spawned and fired at target. Currently no sound effects but might implement that, idk.

GitHub

Contribute to Nohealforu/UnityLive2dThrowingScripts development by creating an account on GitHub.

normal geode
#

what if getting stuff thrown at her made her cry

sharp root
#

Yeah, it's possible and I already have a comment about the potential, idk how Vedal is using the model for the expressions like crying so if I made something it might not be applicable for him.

#

And I'm not sure any of the sample models have applicable expressions or parameters for a demo either.

sharp root
#

There's an issue with the parameters if I fire from right to left atm need to fix that. The way its bugged atm means if a crying parameter was linked it would actually work somewhat to apply it, but would need some tweaking.

sharp root
#

Added parameter lists to be able to trend towards 1 or 0 based on damage (1 for stuff like crying expressions, 0 for stuff like eyes closed), fixed the bugs with negative direction on vectors, tweaked some of the motions to not be so schizo unless set up that way on purpose.

sharp root
#

Still don't know how to handle impact sounds of 100+ objects hitting under a second without making a laggy and deafening noise.

sharp root
#

nevermind, just had to only play the sound if it's not already playing and trim it to an appropriate length of short but not too short

#

The recording doesn't capture the half of how annoying the sound is on my end still but I think that's just cause my hit effect is trash lol

signal iris
#

maybe make the corresponding object thrown everytime a throw emote is used for extra immersion

waxen spade
#

bump

#

we need this

kindred wigeon
#

Imagine throwing neuro a baseball or vedalBased

kindred wigeon
#

I would throw her cookies.

sharp root
#

Throwing stuff back would be hard, especially because of how the 2d camera works.

#

I think the settings in the scripts are flexible enough that the cookie projectile could be set to do 0 damage and not bounce but just play eating sounds when it hits and quickly fade out.

#

The projectile spawning function allows for passing in which projectile to fire, so if Vedal wanted to create a redeem just to launch cookies that is an option.

sharp root
kindred wigeon
sharp root
#

This is still available if Tutel needs the stress relief of throwing things at Neuro's head.

warped dagger
#

vedal i swear to god

sharp root
#

Feed her cookies neuroMad

warped dagger
#

Based

#

🍪

warped dagger
#

Veed-Ool

surreal gazelle
agile peak
#

throwing stuff at neuro neuroD

#

throw at vedal too rizzdal

warped dagger
#

yes

sharp root
#

Vedal's model is ran through VTube studio and not inside Unity, but it does have a script to transfer position data to pin him to her head, not sure if you can link multiple connections to VTube studio for control like that or if the two scripts would have to be merged into one.

agile peak
sharp root
#

hmm true