Search found 77 matches
- Sun Oct 23, 2011 2:39 am
- Forum: QuakeC Programming
- Topic: Limiting a vector?
- Replies: 11
- Views: 2836
Re: Limiting a vector?
self.velocity = normalize(self.velocity);
newVec = self.enemy.origin - self.origin;
newVec = normalize(newVec);
t = time - self.ltime;
self.ltime = time;
percentage = 0.1;
self.velocity = (self.velocity * (1 - percentage) * t) + ( newVec * percentage * t);
self.velocity = normalize(self ...
- Wed Sep 28, 2011 12:48 am
- Forum: QuakeC Programming
- Topic: Reversing the angles of an entity
- Replies: 9
- Views: 2519
Re: Reversing the angles of an entity
Spike's entirely code is correct. however, if you want to literally bounce "back towards where it came from", then that's simply a matter of inverting the .velocity vector. (ie: self.velocity = self.velocity * -1).
- Tue Sep 06, 2011 11:25 pm
- Forum: General Discussion
- Topic: Congratz on forum upgrade
- Replies: 26
- Views: 5523
Re: Congratz on forum upgrade
pressed f5 and suddenly--!
the big thing for me is the larger new topic/reply buttons. (or rather, that you can't start a new topic when in a thread anymore). i used to always hit the new post button accidentally.
the big thing for me is the larger new topic/reply buttons. (or rather, that you can't start a new topic when in a thread anymore). i used to always hit the new post button accidentally.
- Fri Sep 02, 2011 7:05 pm
- Forum: QuakeC Programming
- Topic: Pendulum physics
- Replies: 15
- Views: 4777
- Thu Sep 01, 2011 6:45 pm
- Forum: QuakeC Programming
- Topic: Pendulum physics
- Replies: 15
- Views: 4777
- Thu Sep 01, 2011 6:35 am
- Forum: QuakeC Programming
- Topic: Pendulum physics
- Replies: 15
- Views: 4777
- Wed Aug 17, 2011 10:13 pm
- Forum: QuakeC Programming
- Topic: Two entity questions.
- Replies: 3
- Views: 1452
- Mon Aug 15, 2011 12:54 am
- Forum: QuakeC Programming
- Topic: vp_parallel for a simple model!???????
- Replies: 6
- Views: 1984
- Sun Aug 14, 2011 7:23 pm
- Forum: QuakeC Programming
- Topic: vp_parallel for a simple model!???????
- Replies: 6
- Views: 1984
- Sun Aug 14, 2011 7:10 pm
- Forum: General Discussion
- Topic: 8 bit bigmap Halloween special
- Replies: 82
- Views: 30729
- Tue Aug 09, 2011 6:28 am
- Forum: General Discussion
- Topic: 8 bit bigmap Halloween special
- Replies: 82
- Views: 30729
- Sun Aug 07, 2011 11:19 pm
- Forum: QuakeC Programming
- Topic: DP Rain effect
- Replies: 4
- Views: 1507
- Sun Aug 07, 2011 6:48 pm
- Forum: QuakeC Programming
- Topic: DP Rain effect
- Replies: 4
- Views: 1507
DP Rain effect
is there a way to get it to be effected by gravity?
so i could spawn it with '0 0 0' initial velocity, and the drops would accelerate on their own?
or is it hard coded to just fall down at constant velocities?
so i could spawn it with '0 0 0' initial velocity, and the drops would accelerate on their own?
or is it hard coded to just fall down at constant velocities?
- Sun Aug 07, 2011 12:47 am
- Forum: QuakeC Programming
- Topic: path_corners and the z axis
- Replies: 6
- Views: 2436
- Fri Aug 05, 2011 9:32 pm
- Forum: QuakeC Programming
- Topic: path_corners and the z axis
- Replies: 6
- Views: 2436