If you work with Unity3D and 3dsmax maybe you will need this.
FOVCalculator is a little plugin to calculate Unity camera field of view, based on a 3dsmax camera horizontal FOV.
Below you will see two screenshots.
On both you can see the view of a camera in 3dsmax and another in Unity.
The cameras are both in the same position and with the same rotation.
If the two camera have a FOV of 45.
Then if I use my plugin to calculate the right FOV in Unity.
16 in width and 9 in height with a FOV of 45 = 27.
You can download the Dll file here.
https://dl.dropboxusercontent.com/u/29714084/Blog/FOVCalculator/PolygonExperiment.dll
Installation instructions
You just have to create an "Editor" folder into Unity and put the dll in this folder.
You will find the plugin in the "PolygonExperiment" top bar tab.
If you have any questions,bugs, or ideas to improve the plugin,
don't be afraid to send me an email via the contact form of my portfolio.
http://jonathanlefebvre.carbonmade.com/contact
Friday, 9 January 2015
Custom Event Trigger development (Unity3D and C#)
Hello everybody,
actually, and for my personal game project purpose,
I develop a custom event manager with delegates and events.
There are 4 parts :
For example, here I chose Start (like Awake, Update, ...) and the action is "Show Cursor Action".
Then you press the button add, and you add the action to the list below.
When you press the button, a method will verify if the chosen action must use some data models or not with some reflexion.
It is the first time I use delegate and events, so it is not perfect yet and not finished.
I also put some code on the Unity community forum.
http://forum.unity3d.com/threads/custom-event-manager-how-can-i-trigger-events-base-on-a-list-of-actions.289894/
actually, and for my personal game project purpose,
I develop a custom event manager with delegates and events.
There are 4 parts :
- the events manager
- the events listener
- the events trigger
- the events scripts who are called by the events listener.
For example, here I chose Start (like Awake, Update, ...) and the action is "Show Cursor Action".
Then you press the button add, and you add the action to the list below.
When you press the button, a method will verify if the chosen action must use some data models or not with some reflexion.
It is the first time I use delegate and events, so it is not perfect yet and not finished.
I also put some code on the Unity community forum.
http://forum.unity3d.com/threads/custom-event-manager-how-can-i-trigger-events-base-on-a-list-of-actions.289894/
Subscribe to:
Posts (Atom)