Day 23

Published November 07, 2012
Advertisement
Mirrored from my blog (en, pt-br).

Today I did some things in sync:

  • Color of the mass panel changed to red.
  • Q e E keys to toggle between min and max.
  • Change projectile mass with Ctrl + Scroll.
  • Projectile gravity removed.
  • Cube created.
  • Crosshair add.
  • Align between the crosshair and the projectile.
  • Apply the script DontGoThroughThings.

Panel + Crosshair + Cube:

tumblr_mbnsuhWUa71rxq0qy.jpg

Testing the prototype when it increased the speed of the projectile I realized that it was past the cubes to the point of not collide with any cube. Actually what was happening is that as the projectile was too fast, it not collided with the cube, if you go frame by frame you can see it. I researched and found the script DontGoThroughThings that solved this problem. Just put the script on the object that will move very fast and all the other objects that you want it to collide inside a layer and pass this layer to the script.

Check out the results:

  • Without DontGoThroughThings (Online).
  • With DontGoThroughThings (Online).


[size=2]PS: Sorry for the bad english.
Previous Entry Day 22 - [SinC]
Next Entry Day 24
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Day 39

1584 views

Day 38 - Idleness

1203 views

Day 37

1237 views

Day 36

1276 views

Day 34 - College

1056 views

Day 35 - Idleness

1110 views

Day 33 - College

1142 views

Day 32

1309 views

Day 31

1247 views

Day 30

1302 views
Advertisement