Hello!
I've just released a texture pack with better colours
and the are brighter too!
the screen shot is on the link as well as the download here:
http://gamesmaniac364.webs.com/minetest-texture-pack
var target : Transform;
var damping = 6.0;
var smooth = true;
@script AddComponentMenu("Camera-Control/Smooth Look At")
function LateUpdate () {
if (target) {
if (smooth)
{
// Look at and dampen the rotation
var rotation = Quaternion.LookRotation(target.position - transform.position);
transform.rotation = Quaternion.Slerp(transform.rotation, rotation, Time.deltaTime * damping);
}
else
{
// Just lookat
transform.LookAt(target);
}
}
}
function Start () {
// Make the rigid body not change rotation
if (rigidbody)
rigidbody.freezeRotation = true;
}
Return to Minetest Texture Packs
Users browsing this forum: No registered users and 1 guest