Ryan Hafner
Hi! I'm Ryan. I make AR lenses and teach others to do the same. You can learn more at spinningrock.com. Also check out @b3dinteractive on Snapchat, and @spinning.rock and @notta.bot on Instagram.
- Total activity 14
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 4
Activity overview
Latest activity by Ryan Hafner-
Ryan Hafner commented,
In the Emitter.js script, you'll find the emit function around line 138. I would add a second parameter to the function (e.g. "num"). After line 141, add a line adding this number to the "newObject...
-
Ryan Hafner commented,
Hey eL, Glad you found it useful (kinda). 1) There's no built-in way to trigger a set number of particles, but there might be a way to do it if you're down to do some custom scripting. I can walk y...
-
Ryan Hafner commented,
Oh, got it. Should work the way you're describing. Again, just did a quick test and I was able to access a script component through the scene object it was attached to using getComponents. I set up...
-
Ryan Hafner commented,
Snap actually provides a global method called 'getTime' that you can use to get the number of seconds since the start of the lens (reference: https://lensstudio.snapchat.com/api/GlobalMethods/) Com...
-
Ryan Hafner commented,
No, Lens Studio doesn't directly limit the instantiation of object prefabs. I believe it's only really limited by processing power. I just created a quick example project script that does the same ...
-
Ryan Hafner commented,
You could parent your scene to the camera, so it's fixed in place, then add a script that tracks touchstart/move/end to let people touch/click and drag to rotate the scene around the camera.
-
Ryan Hafner commented,
Are you sure it's only happening once? Are 10 "Tapped #" statements being logged in the console or only 1? Are there any error messages? Your code is pretty straightforward and should be working. S...
-
Ryan Hafner commented,
Hey, this is totally doable but maybe a little trickier than you might think. Probably the simplest way to approach this is to use Tweens on a parent object to rotate and move the emitter through y...
-
Ryan Hafner commented,
Hey, happy to hear this is useful to someone. I never got around to making the video, but if you need any help getting it set up or navigating the different settings or API, I'd be happy to answer ...
-
Ryan Hafner created a post,
3D Emitter Script
Have you ever thought, "Wow, particle emitters are great, but planes are sooo 2D. I wish I could spray an unreasonable number of 3D objects into my scene instead" ? Well, I have great news - now yo...