Launching Straight Up
I have been working on my first map. However, when trying to get my second ariel faith plate to work in the correct manner, I have encountered some problems.
Part of the puzzle involves a cube flying across the map, and on landing hitting a second ariel faith plate. This plate is supposed to launch said cube straight up. I have placed the info_target straigh above the faith plate, but it makes it fly past.
Any ideas?
Lostprophetpunk wrote:
Heya there,
I have been working on my first map. However, when trying to get my second ariel faith plate to work in the correct manner, I have encountered some problems.
Part of the puzzle involves a cube flying across the map, and on landing hitting a second ariel faith plate. This plate is supposed to launch said cube straight up. I have placed the info_target straigh above the faith plate, but it makes it fly past.
Any ideas?
Make sure the name of the info_target has a unique name and is spelled correctly in the trigger properties.
Marlovious wrote:
Make sure the name of the info_target has a unique name and is spelled correctly in the trigger properties.
It is already.
I always check and re-check spelling of names before testing.
Also, yeah, knowing how far it flies past would be helpful to know.
Marise wrote:
So the cube is launching straight up but going past the info_target? Or is it flying at an angle?
It flies at an angle, rather than straight up and towards the info_target.
Random wrote:
Can you test what happens if you drop the cube straight on the second plate, ignoring the first? Or just make a smaller test map including only one that launches straight up so you can see if it works or tweak the settings if it doesn't?
Also, yeah, knowing how far it flies past would be helpful to know.
I did that whilst testing. It flies at an angle in the opposite direction. =/
Skotty wrote:
Sometimes the physic speed of the trigger_catapult is not big enough to get the cube to the target. Just try to increase your speed value. If you look in the console, there should be a red error if the force is not big enough.
The physics speed is enough. I had it set to 750, but tried it at 1000, same thing happened.
No error in the console by the way.
WinstonSmith wrote:
I don't think so, I'm reasonably sure you need to both specify the target and the angle/launch direction. Try changing the Launch Direction of the trigger_catapult to up (there's a dropdown box just below it with Down and Up), see if that works.
This is incorrect. I found while making the map in my signature that what ever is catapulted will always hit the info target. I was able to change the height of travel via the "launch speed". IE, if you set launch speed to 100, the arch will be very high, and if set to 900 it will be an almost direct path.
Lostprophetpunk wrote:
I have placed the info_target straigh above the faith plate, but it makes it fly past.
How high above the catapult is the target? What size is the trigger_catapult? I have found that a 32x32 catapult will get the best results in terms of consistency.
Marlovious wrote:
WinstonSmith wrote:I don't think so, I'm reasonably sure you need to both specify the target and the angle/launch direction. Try changing the Launch Direction of the trigger_catapult to up (there's a dropdown box just below it with Down and Up), see if that works.
This is incorrect. I found while making the map in my signature that what ever is catapulted will always hit the info target. I was able to change the height of travel via the "launch speed". IE, if you set launch speed to 100, the arch will be very high, and if set to 900 it will be an almost direct path.
I stand corrected, thanks for the info.
However, it still launches past the info_target. As what I am looking for is to have the cube bounce straight up, rather than than carry on.
Marlovious wrote:
I'm not sure what you are doing wrong but I've included a .vmf example with it working correctly.
Thanks for the example. I have taken a look at it and tested it. But the problem is that I need that cube (after it has been launched straight up) to continue to bounce up and down on that faith plate. Meaning that it doesn't move horizontally but only vertically bouncing up and down.
Marlovious wrote:
Ah. Make the second catapult larger then. The problem with physics objects is that their path has an random angle added to their trajectory. Change "Apply angular impulse" to off in the trigger properties.
I have already set that to 'No'. I have attached a pic of my settings. I am getting so confused now. =[
pic.png