Quantcast
Channel: Answers by "Slin"
Browsing latest articles
Browse All 8 View Live

Answer by Slin

That is actually quite tricky, at least if I understand your problem correctly. After thinking about it a bit, I think that you can use the quaternions AxisAngle function. You should be able to get the...

View Article


Answer by Slin

I think that the GL class draws in the same moment you call one of its draw functions. As the Queue tag would define when an object is rendered, it is just ignored. I am not exactly sure if I...

View Article


Answer by Slin

A loop is probably more flexible and better to read as it is shorter, but other than that your code looks fine:var enemyPrefab : Transform; function Update () { if(GameObject.Find("enemyPrefab(Clone)")...

View Article

Answer by Slin

You could check out what the PositionFog function does:// Computes final clip space position and fog parameter inline void PositionFog( in float4 v, out float4 pos, out float fog ) { pos = mul(...

View Article
Browsing latest articles
Browse All 8 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>