Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Model Editor Help Projectile Tweaks
ExpectedIdentifier Offline
Member

Posts: 234
Threads: 10
Joined: Sep 2012
Reputation: 11
#3
RE: Projectile Tweaks

(06-11-2013, 02:51 AM)Amn Wrote: Hi,

I did an enemy that shoots rocks at the player.
The projectile comes from a long distance and i'm using script areas to estimate where the player will be in a given time.

It works, the rocks can kill you and the projectile's direction and speed are perfect.

But now i have two problems:

1. The projectile has the gravity of a balloon instead of a heavy rock.
2. I can't make it rotate. I tried using a block box at the spawn to make it spin on collision but it fails sometimes cause the box is static and the projectile's direction and force vary each time.

Is there something in the Model Editor i can do to achieve this?

You need to mess with the rock's properties in the model editor to change how quickly it drops (the gravity) I think. Not sure if increasing the object's mass would work as I think that just affects the speed you can walk while carrying the object Tongue Not sure what you mean about making it rotate.. But there is a function to rotate objects:

Spoiler below!
void RotatePropToSpeed(string& asName, float afAcc, float afGoalSpeed, float afAxisX, float afAxisY, float afAxisZ, bool abResetSpeed, string& asOffsetArea);

(This post was last modified: 06-11-2013, 04:05 AM by ExpectedIdentifier.)
06-11-2013, 04:03 AM
Find


Messages In This Thread
Projectile Tweaks - by Daemian - 06-11-2013, 02:51 AM
RE: Projectile Tweaks - by PutraenusAlivius - 06-11-2013, 03:39 AM
RE: Projectile Tweaks - by ExpectedIdentifier - 06-11-2013, 04:03 AM
RE: Projectile Tweaks - by FlawlessHappiness - 06-11-2013, 10:59 AM
RE: Projectile Tweaks - by Daemian - 06-11-2013, 02:46 PM
RE: Projectile Tweaks - by Rapture - 06-11-2013, 03:54 PM
RE: Projectile Tweaks - by Daemian - 06-12-2013, 05:47 AM



Users browsing this thread: 1 Guest(s)