Quantcast
Channel: Latest Questions by PorkMuncher
Browsing latest articles
Browse All 23 View Live

Changing viewport preferences?!

I am not able to find a way to change viewport camera "orbit" shortcut. In Blender I rotate the view with Alt+Middle mouse, and it is really hard to adapt (more even when I switch between the...

View Article



Input axes freeze from opposite input rather than cancel out!

So when I press for example W on my keyboard then S after a while, the vertical input axis will continue reading 1 instead of cancelling out to 0. In input settings there is a checkbox "Snap", but it...

View Article

Mecanim blend tree transition speed

I'm new to Unity and so far loving the mecanim system, but there is one hitch - I have this character, that is controlled on a plane with WASD, and when I switch between animations in the blendtree,...

View Article

Unity script system

I am familiar with the basic concepts of OOP and do not understand where a "script" fits into this system. I am trying to create an inventory system. I was thinking of creating a class for all items,...

View Article

Triggering only once

I have this fast moving trigger - an arrow. I want for one arrow to be able to only hit one target, so I delete the Arrow gameObject once the enemy enters it's trigger. The problem is - if the arrow...

View Article


Mesh.triangles specification

I am trying to make a simple mesh from scratch with the Mesh class that is used in Mesh Filter component. The problem - I do not understand how the triangle array works! Is it a continuous stream of...

View Article

Is it a good idea to make many terrain chunks instead of a big one?

I really would like lightmaps on my terrain, so that there is no need for real shadows from my static objects (and Ambient Occlusion - so pretty :3 ). Having a big terrain is easy for the workflow, but...

View Article

Unable to turn off lightmaps

When I open the lightmaps dialogue there is this little checkbox in scene view that I uncheck and the lightmaps turn off, but as soon as I close the lighmapper window they turn back on. Also the only...

View Article


Object alpha blending

I want to fade trees out when close to the camera, but the transparency shaders have problems with sorting and don't cash shadows. I don't want to display the faces "that are only visible because of...

View Article


OnPointerExit doesn't work

In the new UI the OnPointerExit (aswell as OnPointerEnter) doesn't work if instead of pointer leaving(or entering) - the UI element itself is moved while the pointer is stationary. Is this how it...

View Article

Is it a good idea to check if a float isn't zero

As I understand floats can't be checked for equality - but is it different with the 0? Is it a good idea to use float a=0; if(a!=0) DoSomething(); Or should I use float a=0; if(a>0 || a

View Article

Is it possible to reassign the animation of an animator state programmatically?

Is it possible to reassign the animation of an animator state programmatically? Imagine scenario - bunch of different enemy characters, that each have different animations (i.e. a wolf runs with a...

View Article
Browsing latest articles
Browse All 23 View Live




Latest Images