Quantcast
Channel: Latest Questions by Ludus
Browsing index pages (14 articles)

How to detect if my rigidbody (with Triggers, no colliders) has been hit by a...

My game has 2 types of baddies, normal ones that can be hit by bullets and have to navigate normally(normal colliders) and those which can also be hit by bullets BUT move through walls (use Triggers)....

View Article


Emit only ONE PARTICLE and batching problems

I'm optimizing my game atm and so when my turret shoots, rather than spawn in an one-shot particle emitter (at least 1 draw call per one) I have a master emitter, who moves to the spot and emits once....

View Article


Have "OnTriggerStay" detection but only call it once?

I'm at a point where trigger/enter/exits can't be used anymore. I need to detect if two objects are currently colliding via their triggers when the mouse clicks on them, since the triggers sometimes...

View Article

Unlit, Transparent and Slice Shader

Mornin' all. I'm having some real trouble trying to combine some shader scripts features together. I simply want a transparent unlit texture that can be sliced. Good news is that the slicing works...

View Article

Pause a Particle Effect?

Simple Question, how can you pause a particle effect ***mid-explosion***? As far as I know there is no way to use timescale locally on certain objects and using your own time variables for calculation...

View Article


Add Colour tint onto another shader?

Been messing with shaders recently combining a few things and thought I was getting the hang of this (simple things, like allowing bump maps to other shaders). What I want to do is colour materials at...

View Article

Best way to destroy a large object into smaller fragments?

NOTE: Just the logic I really need, I'm doing fine with the programming. Alright, here is how I'm doing it atm. Simply I have a empty parent object, who has 8 smaller children which make the whole...

View Article

How to detect if my rigidbody (with Triggers, no colliders) has been hit by a...

My game has 2 types of baddies, normal ones that can be hit by bullets and have to navigate normally(normal colliders) and those which can also be hit by bullets BUT move through walls (use Triggers)....

View Article


Emit only ONE PARTICLE and batching problems

I'm optimizing my game atm and so when my turret shoots, rather than spawn in an one-shot particle emitter (at least 1 draw call per one) I have a master emitter, who moves to the spot and emits once....

View Article


Have "OnTriggerStay" detection but only call it once?

I'm at a point where trigger/enter/exits can't be used anymore. I need to detect if two objects are currently colliding via their triggers when the mouse clicks on them, since the triggers sometimes...

View Article

Unlit, Transparent and Slice Shader

Mornin' all. I'm having some real trouble trying to combine some shader scripts features together. I simply want a transparent unlit texture that can be sliced. Good news is that the slicing works...

View Article

Pause a Particle Effect?

Simple Question, how can you pause a particle effect ***mid-explosion***? As far as I know there is no way to use timescale locally on certain objects and using your own time variables for calculation...

View Article

Add Colour tint onto another shader?

Been messing with shaders recently combining a few things and thought I was getting the hang of this (simple things, like allowing bump maps to other shaders). What I want to do is colour materials at...

View Article


Best way to destroy a large object into smaller fragments?

NOTE: Just the logic I really need, I'm doing fine with the programming. Alright, here is how I'm doing it atm. Simply I have a empty parent object, who has 8 smaller children which make the whole...

View Article
Browsing index pages (14 articles)


Latest Images