DLLs and Unity

So, I was looking at a task I’ve done before in Unity today but that is always a little tricky – creating C/C++ code as a DLL that then gets imported into Unity.

Read More

Simple Flying Rig

As you want to view the visualizations you create, you will want to be able to change perspective and move through your scenes in game.

Read More

N-Body in Unity With Threads

This model will extend from our previous example using TimestepModel. We will build a class that uses a threaded update method, like before, and will use that update method to integrate forward a system of orindary differential equations.

Read More

Threading

The fundamental dynamic in any GUI driven simulation is the interplay between the GUI and the simulation. The communication between the two can create problems in your application when the timing of the two doesn’t line up.

Read More

Javaplots

This is a departure from the current set of posts on adding modeling and simulation to Unity game engine. In Unity, I’ve got great built in animation and visualization and have to add my own numerical analysis. In my Intro to Scientific Programming class (first year Java for computational science majors) I have the opposite problem, good tools for handling the math, but not as many options as I’d like for visualization.

Read More

Using the GetComponent Command

One of the most important features of Unity’s scripting language is the “GetComponent” command. Each game object in Unity has its features extended by components. Components can be used to attach a renderer, or a collider, or a special effect. Components can also be used to attach our custom scripts.

Read More

Hello Unity

Welcome to the first in a series of blog posts about my experiences using Unity as a modeling and visualization tool. This will cover a “hello world” style program for modeling in Unity, and will introduce the reader to creating a program in the unity interface, adding a game object to the scene, and using a script to control the game object’s position.

Read More

Welcome!

Hi! This blog will detail my experiences with using assorted computational tools in the classroom, in particular (but not limited to) using Unity game engine as a modeling and visualization tool, particularly in informal ed and outreach settings.

Read More