#blueprint

402296 messages ยท Page 412 of 403

boreal jackal
#

last capsule "sideways

odd ember
#

I mean if you want to make it full physics complaint it's a bit harder

#

but you can fake it the way I described

boreal jackal
#

ye thats why i was looking into having another controller (child) and casting to the child to get the rolling movement

#

but having child wont work

odd ember
#

it's not really a question of controller at this point

boreal jackal
#

lol

odd ember
#

you need to play around with physics and physical acceleration

#

not sure how that's going to work now that ue4 is switching to a new physics system next update

#

I would copy the logic from the rolling ball template

boreal jackal
#

i did

odd ember
#

the entire ball character

#

and then try and mesh it with a normal third person character

boreal jackal
#

tho it uses a pawn

odd ember
#

but it's a huge amount of work regardless

boreal jackal
#

ok i will come up with a new version thx 4 the guidance tho ๐Ÿ™‚

#

cya ๐Ÿ‘‹

trim steeple
#

Hey guys I am kind of new to Unreal and I need some help creating a simple badminton logic, so when the player uses a racket to hit the birdie
and launch the birdie to the other side of the court, I am still not really good with blueprint and cpp so any help is appreciated

frail wyvern
#

Question: Anyone know how to zero out inputs?
Use case: Trying to have the character stop doing anything and disable input temporarily
I am using booleans and disable input, but it kind of locks the pawn in its current state

frank garnet
#

Anyone know a good blueprint for paper 2d ai(enemy)? The enemy is supposed to attack and shoot some type of spell. Might be complicated but keeping quiet got me nowhere so had to ask

pallid rampart
#

@frank garnet have you looked into paper 2d project that comes with UE4 might get some info there

shell estuary
#

So I made my .exe file with my program, how can I share this with a friend?
getting this error when I send out the .exe file

twilit heath
#

that looks you're trying to run the engine executable, not the game one

little nacelle
#

does anyone have some decent resources on procedural generation, especially for BP? I'd like to learn how to generate maps similar to how games like Civ or Rimworld do, thanks

#

particularly in a way where it can hold various data/states per tile

coral canyon
#

two very different styles of generated maps/levels

tame coyote
#

hey guys, is 30+ sockets on an actor reasonable or too many?
not to say i don't have use for these sockets. i need more objects. but is there a better way to handle a growing list of attachable actors?

carmine prawn
#

Right, I must be missing something obvious but it's escaping me. I have a static mesh I threw together. If I create an actor BP, add a static mesh component and assign the SM it doesn't show up when placed in the level. However if I right-click the SM and create a BP from it, it does show up. Visibility in game is on. Anyone got any clues?

tame coyote
#

something's up, moa.d. you should be able to do that. i'm doing it right now

carmine prawn
#

Yeah, tis very odd.

tame coyote
#

what happens if you start over? just make a new BP, add a cube static mesh or something, and place it. does it still not show up?

carmine prawn
#

If I change the SM then whatever I pick appears fine, but just not this one

tame coyote
#

but, if i'm understanding correctly, you can use that SM, but only if you base a blueprint off of it?

carmine prawn
#

Yeah, I mean it's not a big issue to right click and create a BP, it's just... well, it's something I'd like to know why it's happening ๐Ÿ˜„

tame coyote
#

yeah no joke

#

i've never seen that, sorry man

carmine prawn
#

that's cool ๐Ÿ™‚ and sorry no idea about your attachable actor hoarding ๐Ÿ˜„

little nacelle
#

@coral canyon how do you mean?

tame coyote
#

i dunno if this will help, but it looks like your words are spaced based on where they begin. you may have to figure out how to calculate the length of the word, and add it to your spacing

coral canyon
#

@little nacelle well - civ is hex based terrain, and is generated per-tile for types/contents, while the overall map still has some similarities to an open map. the very starting point of procedural generation between the two is similar - to just organize overall landmarks (mountains, water, etc), but then the paths diverge quite a bit on what you do from there. also the concerns of how the landmarks need to be setup/spread out etc differ a fair amount between the two

little nacelle
#

well that i get, but I mean how is it implemented in a way that doesn't become overloading for the hardware? Like I can't just generate a 1000x10000 tile map and have it calculate states between each tile in an efficient manner no?

coral canyon
#

to my understanding, generally you'll start with some noise generated, and then do sampling from that. i haven't done this in unreal before, and have only followed some guides in different languages, so i can't be of much help ... mostly just the peanut gallery at this point

little nacelle
#

ive seen the noise generation method a lot, was wondering if there are other methods that would be optimal for my needs

#

or at least to compare/contrast pros and cons between

coral canyon
#

a way to think about why noise generation makes a lot of sense is if you compare to randomly choosing values per-tile. if you do that, you then have two downfalls - needing a sample set of random numbers every tile, as well you lose the cohesiveness of the overall landmarks. generating the overall land using a noise method which has gradual changes ensures you don't get ridiculous contrasts between those random numbers

#

there's likely other reasons why it gets used a lot, and i could speculate on some, but that's about as far as my knowledge goes. it's also just convenient because there's a lot of different tasks that use sampling from textures/similiarly organized data sets, so the tools exist and are familiar across them all

little nacelle
#

ah makes sense, was wondering about that actually, like how best to have generation appear natural as opposed to random

#

so is there a reason perlin noise maps are necessary as opposed to numerically defined grids?

coral canyon
#

by numerically defined grid are you just talking about 100x1000 tiles kinda deal?

little nacelle
#

sort of, like if i want to have the exact values shown numerically rather than by a texture i guess. for example, say i have a perlin noise map thats 3x3:
[0][-1][4]
[0][2][-3]
[0][6][-1]
you can see how the first column would be a solid single color line

coral canyon
#

doesn't make too much of a difference though. essentially they're the same thing, just in a slightly different format

little nacelle
#

but if id prefer to have the values pre determined and adjust one at a time, wouldnt it be easier to use such a grid rather than generating a new noise map?

coral canyon
#

not sure what you mean by adjust one at a time.. to my understanding that's not how perlin noise gets used - since the surroundings matter. i feel like this is a bit of the blind leading the blind though, lol

#

you can easily convert an image to the values you'd like

little nacelle
#

thats essentially what im getting at, like if i need to make slight adjustments to a specific point of a noise map, but ive never done so myself so wasnt sure how easy or hard it would be

obtuse crescent
#

newbie here. Been trying to make a character obj move for the last six hoursish. Anyone know why this wont work?

#

(sry for interupting)

coral canyon
#

@little nacelle one way of doing things for generating maps, is that you'd have several passes over the details. e.g. you generate perlin noise (i don't know the details that can be put into this algorithm).. then say you wanted to restrict to 2 mountains (defined by a value above a certain amount) only. you could then do a loop over it, identify two mountains, then for every other one you encounter, you just reduce the values down to below mountain threshold (you'd need to scale all of them together). now you result in a data set with only two mountains. then you'd do another pass to start details for tiling, contents of tiles, etc. there's quite possibly ways to do this in less passes but there's also tradeoffs for complexity. as long as performance is good for what you're using it for, it doesn't matter as much

little nacelle
#

yeah performance is what id be most concerned about here. I dont mind doing multiple passes one over the other, as long as it can do what i need lol

coral canyon
#

initial loading for games like civ/rimworld are about the least important times for performance considerations though - so it really does depend on the situation

#

don't get too pre-occupied about performance before you've had a chance to try things

elfin hazel
#

@obtuse crescent It should happen - on begin play. After that it should stand still with that logic. If you want it to happen over time, use tick.

odd ember
#

I strongly recommend using timers instead of tick

#

unless you want to have performance problems

elfin hazel
#

How is tick less performant than a timer?

coral canyon
#

@odd ember oh? is that just in blueprints, or in c++ too? why is that in general

odd ember
#

timers can be turned off

elfin hazel
#

So can tick

odd ember
#

technically tick can too now

#

but you can create timers independently of tick

coral canyon
#

what does that have to do with performance problems?

odd ember
#

if you start putting a lot of stuff on a tick function like I've seen people do

coral canyon
#

... timers don't solve that problem either though. i'm really confused, lol

elfin hazel
#

Yes. Maybe don't do pathfinding on tick. But if you need something to happen over time, you need tick or something equivalent.

odd ember
#

how do they not?

#

the idea of timer is that that it is transient

coral canyon
#

still happens in the same thread doesn't it?

odd ember
#

yea but this is a blueprint discussion

#

threads don't exist

coral canyon
#

put the same amount of processing requirements on a timer as you do a tick, you'll have the same problem

limpid lotus
#

If you're doing a ton of things every frame.. then it will lead to bad performance. Just gotta be smart about how you format your code

odd ember
#

generally using tick in BP is a terrible idea

coral canyon
#

it's not about ticks vs timers is what i'm getting at

#

and i disagree

odd ember
#

not saying you shouldn't use it ever but I find it rare that I need it

limpid lotus
#

Nope I use tick all the time, I turn it on and off all the time. I just don't want everything ticking(using a timer is the same thing but not frame rate dependent if you use it the same way).

odd ember
#

anyway the main reason I don't use tick is because it enforces bad practices in BP

#

since this is a BP forum

coral canyon
#

x.x

limpid lotus
#

It's not related to BP it's related to game programming in general

elfin hazel
#

Okay. So if I use a timer that fires more often than tick, that event (lets say moving a character) will happen multiple times during a frame update. So you'd move the character more times than it is visually updated, practically worsening your performance.
If you're using a timer firing slower than tick, sure you'd save performance but that movement will appear to have a 'lower fps' than a tick.
If you're trying to match the timer with the tick delta.. then why not just use tick.

limpid lotus
#

Plus you can adjust the tick rate

odd ember
#

because lets say you have multiple things happening at different times that you need to turn on and off independently

#

which is way more often the case

coral canyon
#

@odd ember i think the idea behind what you're saying makes sense - but the aspect you're pointing at to be the "problem" doesn't fit

odd ember
#

there isn't a "problem"

#

I just don't recommend using tick

#

that is all

coral canyon
#

k nevermind. leaving now lol

limpid lotus
#

The bad practice isn't using tick it's running alot of stuff on tick or using it when you don't really need it

elfin hazel
#

It of course depends what it is for. The less you need an update, the better. But things like moving a character, which is what I recommended using tick for, it's silly to use anything else. Timeline sure, it can be practical but it's just another tick.

odd ember
#

generally anything that runs per frame needs to be heavily scrutinized I've found, so having that being delegated (elegantly) to transient timers is a pretty sound design decision

limpid lotus
#

But what is the purpose of using the timer vs tick if your using it the same way?

odd ember
#

readability, the fact that you have independent functions on independent timers that handle their own logic

#

i.e. low coupling

limpid lotus
#

The only thing I see worst about using a timer is that your adding more memory (because your creating a timer handle obj and the timer manager has to keep track of it) if your using like tick(where it fires every frame)

odd ember
#

if your timer is transient so is the handle

#

so I don't see the issue

limpid lotus
#

Transient doesn't mean it doesn't get created

#

For you to start a timer that's creating a timer handle

odd ember
#

but if it gets culled anyway then it's an overhead until next gc cull basically

#

it's a non issue

limpid lotus
#

Death by a thousand cuts then lol

odd ember
#

plus a variable is like what, 4 bytes?

#

I mean I don't know how many timers you run

#

but if you're doing that much on tick you might be better off doing cpp

limpid lotus
#

Not much, I use tick. You can do alot in tick in BP and have under 16ms its not really a problem of the programming language it's about how you format your code

odd ember
#

well yeah, but like I said timers are more readable and easier to decouple

#

so for an overhead between two culls it's easily worth it

#

unless you absolutely need something to run per frame

worthy frost
#

tick in blueprint is at least 10x slower than C++

#

every tick call, goes c++ -> FindFunction(Tick) -> BlueprintVM -> Tick - > BlueprintVM -> C++

#

BlueprintVM is the slow point.

#

we had code in BP on tick, costing us .25ms game time, the EXACT same code in c++ costing us .1ms game time

limpid lotus
#

Tick or timer Kaos?

worthy frost
#

Timers are the same

limpid lotus
#

Lol

worthy frost
#

they still need to call the BP vm

limpid lotus
#

Exactly

worthy frost
#

thats the slow point, and it won't get any quicker unless there was no virtual machine in the way

limpid lotus
#

Listen if I'm not coding in assembly then I'm not coding at true speed

odd ember
#

I mean nothing that's been said invalidates what I said

worthy frost
#

BP ticks are pretty bad, but they are usable, as long as you are not doing too much complex math.

obtuse crescent
#

um, idk what yall r going on about. But I got the thingy to move via eventTick so thanks ๐Ÿ˜„

worthy frost
#

which is the correct place for movement that needs to be smooth

trim matrix
#

Would anyone know how to implement snapping into a building system?

trim matrix
#

is this ok or not to call these methods?

#

"DO NOT CALL MANUALLY" is worrying

#

but if all these methods aren't to ever be called manually, why are they exposed?

glacial eagle
#

They're fine to call, it's just the CPP comment making it's way to the node

#

You're not meant to call the underlying CPP function but you can't from BP anyway

static charm
#

why would adding a camera to a physics body suddenly cause the physics body to start spinning, while without a camera it does not spin

#

im not yet using control inputs to the pawn. tried every combination of control/rotation settings

#

seems like a dumb bug from the camera affecting the physics

#

oh interesting

#

if i used the placed in world pawn, it doesn't bug out. if i use the auto spawn, it bugs out.

stuck hedge
#

@static charm This fixed it. In case you ever have the same issue. I created a second shorter capsule collision that I made of the type "world static" rather than pawn.Set it to effect navigation, and then I enabled/disable collision when it stops and starts moving. That creates a hole in the navmesh to block the other AI from thinking they can go through there.

#

it's a bit of a hack, but it works.

static charm
#

yeah essentially a hidden door/blocker. nice

pallid heron
#

Hi, I have a little question if anyone can help. I made a blue print so taht the input of my character movement moves him along a spline, I modified the third person character to do this. I also havea blueprint that used to work for a moving plat form, but since ive made the character follow the spline , he doesnt ''stick'' to the moving platform anymore. Anyone has any idea what could cause this ?

stuck hedge
#

It's just a guess, but I think items of type "pawn" won't inherently create holes/block the navmesh because the game expects them to be able to move.

tame coyote
#

am i using this For Each Loop with Break correctly? it looks weird having that exec line go back like that

fathom portal
#

@tame coyote So yes, it's a bit jank imo but that's how it's supposed to be. You can also make like a custom event for each break, but that's overkill

#

I recommend double clicking the white execution pin line that goes to the break to make reroute nodes, so you can route it a little better than the default setup

earnest tangle
#

Reroute nodes can make it look a lot nicer yep^

#

I usually have it loop around the actual iteration block

modest nymph
#

Hey everyone. How can I stop a timeline after it's finished?

#

it seems it keeps updating

#

the first timeline is 10sec, after it's complete, it should stop updating the values

tame coyote
#

@fathom portal @earnest tangle thanks guys!

fathom portal
#

Yeah man, don't forget the update pictures with the cleaned up blueprints!

#

@modest nymph I'm no expert in timelines, but maybe you should have the "Complete" go to a "Sequence" node, where the "then 0" should connect to the "Stop" of the "Seq1" node, then have the "Then 1" line connect to whatever is next, which looks like the set static mesh?

tame coyote
fathom portal
#

You can right click that break struct node to hide unused pins, fi you want

#

Thank you for the update, feels good seeing the changes and fixes implemented

#

Too many people just take the info and run

obtuse crescent
#

how do I two events exec -->(if both activated) --> 1 event exec output

#

actually. I dont think it matters

#

nvm

modest nymph
#

@modest nymph I'm no expert in timelines, but maybe you should have the "Complete" go to a "Sequence" node, where the "then 0" should connect to the "Stop" of the "Seq1" node, then have the "Then 1" line connect to whatever is next, which looks like the set static mesh?
@fathom portal Yes i fixed it with a sequence node ๐Ÿ™‚

fathom portal
#

@modest nymph Share the updated code, so the next time someone has a similar issue they can see how other devs solved it

modest nymph
#

Rather than having the "COLAPSE" (30sec timeline) going to the "Sequence 1" (10sec) and then "Sequence 2" (10sec), I made the branch, so the "COLAPSE" is not forcing the "Sequence 1" to update after it's finished.

fathom portal
#

Sweet, entirely reasonable, thank you

sour urchin
#

Hello. How i can check if the command is in the text. For example, as in the game GTA SA: MP. There you enter the command /pay id count

fathom portal
#

@sour urchin are you trying to just check whether the command contains something? Or are you trying to make a full command system like minecraft/GTA/etc

sour urchin
#

Yes, I want a complete system

fathom portal
#

That's something really, really complex to pull off effectively

tame coyote
#

holy crap i just discovered macros and i'm redoing about 4 hours of work

fathom portal
#

Do you have a smaller ask? Or are you just asking like in general how to go about doing it?

#

@tame coyote Lmao right

#

Don't forget, you can collapse existing code to macros, instead of making a macro and putting the code into it:

tame coyote
#

the more i learn UE4, the more i realize how easy it is to work with

fathom portal
#

Sorry @sour urchin if that came across as rude, it wasn't meant as such, I meant designing a system like that takes a lot of knowledge that's tough to just explain in a text chat

#

At least, making an efficient, relatively-bug-free system is

earnest tangle
#

On a basic level all it really needs is a list of possible commands and some way of parsing which command the user wants (for example split the string, and compare the /hello to some property on the commands you have available)

fathom portal
#

^ Then, you need to parse out the string of characters to determine which command was run with what arguments. Then, you need to ensure those arguments are valid arguements

#

So like for a Broadcast command in minecraft, it's formatted something like this:

  broadcast:
    usage: /<command>
    aliases: [bc, bcast, shout, js, cs, bbc]```

Where the first part of your command must be "Broadcast" (Or "bcast", or "say" depending on which minecraft version you're running). My example above comes from a specific plugin, but you can see the aliases (the different versions of the command you can type to get it).

After that, you need to get the rest of the command (after the bcast/broadcast/say) and see if this is the right format. Broadcast is easy, since it only takes a string argument which can take (almost) any alphanumeric (letters and numbers) and very little exemptions. Once you get that, you can determine what you should do with that. In the case of broadcast, it gets formatted into colored text and then sent to everyone on the server
#

So to mimic a command system like minecraft or GTA SA: MP, you would need to check every chat message sent, and see if it's a command. I've never played GTA SA: MP, but in minecraft every command must start with a "/", so it's easy to determine if the player is trying to run a command

#

So, if they're attempting to run a command, don't send the chat to everyone else, but if they not attempting to run a command let the chat go as usual

#

Once the message is stopped and you've determined it's a command, you would get the first word in the command. This can be done with looping through the characters, or more efficiently by splitting on the space character, or the most efficiently would be (I believe, someone correct me if I'm wrong) is to use regex (regular expression).

#

I would definitely stick with single-word commands, as making it more than that would make it exponentially more difficult.

#

So, once you get the first word, validate that it's a correct command. If not, send the player a message stating something to that effect. You can directly say "This command is not found", or you can hide commands behind always saying "You do not have permission to run this command"

#

Once you get the first word and validate it's a real command, you need logic to determine if the arguments (The things that came after the command) are valid. If the command in question doesn't have any argument options, I would just run the command and ignore anything the user puts.

#

So for instance if you make a command "/SetWorldTime <time>", you need to ensure when the player runs "/SetWorldTime Potato" that it doesn't try to actually carry that out, causing errors/issues with the server/etc. That's called input validation

#

So you need a way to ensure each type is correctly validated before proceeding

#

Does that make sense, @sour urchin?

true valve
#

If I trigger a line trace and hit a character, how to determine which way the hit actor is facing or if the line trace hits his left or right side?

earnest tangle
#

if you take the forward vector you can use that to determine the facing usually

#

and I recall there was some vector operation to determine which side of a vector some point was, maybe it was dot product and then -1 is one 1 is the other... something like that :)

true valve
#

get actor forward vector gives me 1, 0, 0. If I the linetrace hits the char from left or right.

earnest tangle
#

forward vector will give the direction the actor is facing

#

you need to do a dot product on it from the hit point

true valve
#

dot product has two inputs

#

1st input goes from hit impact point

#

2nd from hit actor -> forward vector?

earnest tangle
#

just google for something like "which side of vector is point on" :) you should find some solutions

tribal axle
#

how can I make a toggle for a flashlight, I press it once it goes off, I press it again it goes back on?

true valve
#

use flipflop

tribal axle
#

Oh, I did it a different way. But how do you use flip flop?

#

I just use click to turn it on and right click to turn it off.

surreal peak
tribal axle
#

I found out how to use flip flop nvm

true valve
#

You can also use toggle visibility if you are using lights

tribal axle
#

Wait, can you have a node that affects an actor if it is in the light?

mossy coral
#

Hi everyone. I have a problem with collisions in my FPS project. In fact, any event hit works only with "static object". But the trace works well. Excuse me, have no screenshots now.

fathom portal
#

Hey friends, what is the term for the node that lets you input a string of text, then replace things like "{f}" with things that you want {f} to be?

twilit heath
#

format text

tribal axle
#

Can someone answer my question please. Sorry if I come off as desperate.

fathom portal
#

@twilit heath you the best, thank you

mossy coral
#

@tribal axle may be u should trace it?

tribal axle
#

I'm really new, so can you explain? And how to do it?

#

Because I have a directional light as a flashlight. And when I aim it at a certain actor I want something to happen.

fathom portal
#

@twilit heath (Or anyone else) any idea why I can't reorder these? I tried compiling, I tried closing/reopening

mossy coral
#

I don't have at hand an engine, so can't explain to u correctly.

  1. Find some point in flashlight, from which u will trace.
  2. Make custom event with some time delay (to be not expensive for performance) and add there node "trace for object".
  3. behind this trace node make ur own logic.

For point 2 u need watch how trace for object - it is simple on Youtube

#

@tribal axle

tribal axle
#

Thanks!

frail wyvern
#

@tribal axle this is one of the links that popped up when I did a google search

tribal axle
#

now, how do you change the material of an actor?

cunning sentinel
#

@tribal axle Set Material

tribal axle
#

got it, im dum

thorny cedar
#

im still struggling to swotch between pawns

#

i create a new pawn when i load a level stream

#

i create a new pan and posess the new one, but have difficulties to get rid of the old one

#

get player controller unpossess

fathom portal
#

Hey all, anyone know of why a blueprint wouldn't function when played in standalone/packaged, but work perfectly fine in editor?

thorny cedar
fathom portal
#

I have a blueprint which doesn't even try to run unless it's in editor. In packaged and standalone it doesnt even fire a starting print string

thorny cedar
#

can destroy the pawn a game is initialized with?

odd ember
#

sure, but you're going to run into trouble if the player controller is still possessing it

visual shell
#

@thorny cedar Have you tried promoting the return of the spawn node to a variable and saving it in a game instance?

thorny cedar
#

yes i think i tried such a thing

#

what would it change?

visual shell
#

a persistent reference so you can destroy the pawn

thorny cedar
#

maybe i should teleport my player and change the pawn instead?

visual shell
#

yea that sounds way more reliable

#

unpossess, teleport and possess again

thorny cedar
#

so the old pawn still remains where it is?

#

for example i want to have a selection at the start either level 1 or 2
after selection unposess then teleport (the pawn?), posess?

#

tbh i have no idea what i said and how to solve it^^ above is my current attempt

visual shell
#

You were level streaming right

thorny cedar
#

yep

visual shell
#

Are you properly loading / unloading them

thorny cedar
#

the levels?

visual shell
#

yea

thorny cedar
#

its just a hub with a widget and then selecting the level by name

odd ember
#

@thorny cedar do you spawn the new pawn using PlayerStart?

thorny cedar
#

widget interface. there is no need for level transfer

#

yep playerStart

visual shell
#

So why are you level streaming

thorny cedar
#

@odd ember see above for my method

odd ember
#

in the gamemode there is an overrideable function called SetDefaultPawnFor

#

I think that's what you're looking for

#

it's the function that's called when a pawn is being spawned at a PlayerStart

thorny cedar
#

i wanted to use 2 pawns one for level selection and one for the levels

odd ember
#

as long as you spawn your main pawn at a PlayerStart you can override functionality in that function to spawn both

thorny cedar
#

i dont need both just one at a time

odd ember
#

well you can do that too

visual shell
#

I don't think the spawning is the problem, it's the deleting of the old one

thorny cedar
#

exact

odd ember
#

so you're looking to delete it when you spawn the new one then, yes?

thorny cedar
#

yup

odd ember
#

use that function

thorny cedar
#

setDefaultPawnFor would change what exactly?

#

it changes the default pawn

odd ember
#

whenever you spawn a pawn at a PlayerStart, it allows you to implement custom logic

thorny cedar
#

and with that allows to destroy it?

odd ember
#

in your case you want to handle unpossession there and you can immediately posses afterwards

#

you can even pass parameters to your default pawn, which is otherwise impossible

thorny cedar
#

i just need grabbing in my pawn and teleporting with the trigger not more

#

for now i just want be able to destroy my pawns! just let solve that problem first before i try to find a proper solution for the whole setup

visual shell
thorny cedar
#

@visual shell its in my persistant level right?

visual shell
#

Don't use the level blueprint

odd ember
#

btw you are literally doing with that game mode function does

#

which is why I mentioned it

thorny cedar
#

ahhh

#

i simply can call the current pawn and kill it and spawn i new one to posses it

visual shell
#

yes..

thorny cedar
#

yeah i havn't finalized my pawn yet

#

focusing on the level streaming for now and then fusing all together

#

i stuck :/ for now i want to test it with the default MotionControllerPawn

#

need for help what to do next

visual shell
#

So what's the problem now?

thorny cedar
#

i have no starting point in which class i shall start

#

as said i want to use the default motionControllerPawn for understanding

visual shell
#

Okay, do you have your game mode set up?

thorny cedar
#

@visual shell i forgot that i can set my pawn self as a variable

visual shell
#

So does destroying it now work?

thorny cedar
#

give me a second to set it up

#

i delete my old pawn and spawn the new one

visual shell
#

Where do you spawn the player?"

thorny cedar
#

and for level selection it spawns automatically at the player start in my persistent level

amber marsh
#

How do you guys recommend I go about adding a screen effect for a temporary status effect. At the moment in multiplayer the screen effect is applied to all players. I just need it to be one.

visual shell
#

Yes but what kind of blueprint is that?

sick sapphire
#

I have a crouch system that is basically setting camera pos and capsule height on Input press and release. How can I stop my character from shoving its head thru the top of a low corridor every time I release?

amber marsh
#

The movement component already has crouching and chumping built in. It handles all of that stuff for you

tribal axle
#

I wanted to have a blueprint that said if an actor has this material, and that material changes to something else, do this.

thorny cedar
#

havn't set up anything, i just selected my gamemode and default pawn class

visual shell
#

Yes but where is that code all placed? In your level blueprint? or in your character?

thorny cedar
#

i havn't set up any code for that just fopr spawning a new pawn when loading a level

sick sapphire
#

@amber marsh but I made my own sliding one, it is required for my movement to be smoother. Is there anyway I can do it so that when I release the slide and stand up it will detect if there is a solid block above it?

visual shell
#

Yes but, you're showing me these blueprints right, so where did you put them? In the character BP or in the gamemode, level blueprint etc etc

thorny cedar
#

ah sry top is in my pawn

#

down in my levels

#

i was calling the destroy function of my pawn right infront of spawn player

visual shell
#

I'm really not sure why it doesn't work for you. I think it just has something to do with that motion controller thing..

#

I would advise creating a gamemode that handles the spawning, possessing, unpossesing, destroying and level loading though.

#

It doesn't throw any errors at ya?

thorny cedar
#

nope no error

visual shell
#

Does the cast fail?

thorny cedar
#

no fail

visual shell
#

I don't know, if I use somewhat your set-up it works perfectly fine for me.

thorny cedar
#

i think a gamemode that handles spawning, possessing,.... is good idea ๐Ÿ˜„ will make this, when the logic is working and then write it in a more clean way

visual shell
#

Yes, I'd also advise to generally always make the reference of the spawned player directly after spawning.

tribal axle
#

how can you get a specific material as a node?

visual shell
#

Create a material object reference variable in your blueprint, then select the material you want

tribal axle
#

thank you

thorny cedar
#

@visual shell when i set up my proberly i can call my gamemode when i wanna load a level and spawning. so just transfer the function from each level to the gamemode to make it more universal and dont have redundancy in my level right?

#

so the only thing that is kept in my level are things like triggers and simple checks

visual shell
#

Yep, I always prefer NOT using the level blueprint, as it's really difficult to access

thorny cedar
#

normally i try to use it only for short solutions and then try to transfer it into other parts

visual shell
#

I usually make a blueprint interface with the biggest functions like

  • Load New Level
  • Spawn Player
  • Destroy Player
  • Pause
  • Exit
  • Start

And then you set up that interface in the gamemode settings, and you can call all those functions as events in the gamemode to set them up. Then from any other blueprint you can instantly get that function by just using 'get gamemode'

thorny cedar
#

yeah basic functions should be callable everywhere

tribal axle
#

why is a material object reference not compatible with boolean?

thorny cedar
#

@visual shell im in my first job and tehere is no person i can ask how to handle things :/ i was super naive ^^ try to get sth better soon

#

so i try my best, without failing to much

visual shell
#

@tribal axle you have to use "Equal"

#

@thorny cedar don't worry its fine! Fail as much as you can, best way to learn

tribal axle
#

i found it out

thorny cedar
#

@visual shell i'm coming from the UX field and maybe wanna go back to it and handle unreal as a hobby, but having some real practical experience always help to have real knowledge ;D

#

i just love to do research more than coding

tribal axle
#

I have a raycast that sets an object a material, but I want something to happen only when that material is set by that raycast, nothing else.

#

How do I do that?

#

Sorry for so many questions

scenic siren
sick sapphire
#

I have a slide input that basically just sets height and camera loc of character. How do I stop it from shoving my camera into a low ceiling if its not tall enough for the character to stand up?

visual shell
#

@tribal axle When you raycast and it hits an object, do a branch with the condition. Only if that condition is met, set the material and the function that you want to happen when that material is set

#

or you can check on tick if the material is different from what it usually has and then plug the code on a do once

tribal axle
#

Huh, ok. Because the mechanic is basically the actor has a chance every ten seconds to change color, if itโ€™s gold, then change the color, but if you change the color when it is white, the actor will kill you. So Iโ€™m just trying to differentiate the automatic change and the ray cast change, I got it know, thanks!

visual shell
#

Ohh okay like that. Yeah, so in the code where you change the material, you do a branch check if it's material X, then do action X and if its material Y you do action Y

sick sapphire
#

Does anyone know how to do a "Wait until x condition is true"? I don't think that is a node that exists, or maybe i missed it

visual shell
#

I think you want to use a while loop

#

It will loop its body until its condition is met

carmine prawn
#

or a branch

sick sapphire
#

@visual shell does an empty while loop work or do I have to put a delay or sth in it

#

because I'm trying to do sth close to a "do not stand until topdetect component is not overlapping", so a branch wouldnt really work

carmine prawn
#

components have their own on overlap events, if that's of any use.

sick sapphire
#

@carmine prawn alright thanks i think i got it

visual shell
#

Yea use the event overlap events for this one, but for the future: a while loop works without a delay or anything, once activated it will loop indefinitely until that condition is met

sick sapphire
#

what do I use here though? i dont think a event would connect properly here

#

sry forgot to type

visual shell
#

But you want that to run when you're not overlapping right?

#

There's event for that! Actor End Overlap

sick sapphire
#

Yes I know but I want it so that if I let go of the slide while, say under a ledge it would just continue sliding instead of standing up instantly

visual shell
#

But that's what it will do, it will then only stand up when it's not colliding anymore

#

Maybe what you want is to set up your own boolean? OnActorBeginOverlap you set "isCollidingWithX" to true, and OnActorEndOverlap you set it to false

#

You can then do a branch check to see if that boolean is true or not on your slide input

sick sapphire
#

yes but when I do that it seems to tell me infinite loop if I use a while loop

visual shell
#

Yeah here you shouldn't while loop

#

OnActorEndOverlap >> Check if player is still sliding, if not then fire the code for not sliding

sick sapphire
#

ah i see

young vigil
#

Any idea how to slow down mouse cursor here? Setting Mouse Sensitivity slows down block movement speed but not the cursor itself. GameMode is set to GameAndUI.

split wasp
#

get current and previous cursor location, set new location to somewhere in between

odd ember
#

isn't it just a question about slowing down mouse acceleration?

trim matrix
#

Guys, anyway to bake render target to a 2d texture?

supple dome
#

right click the render target -> create static texture

limpid saffron
#

Hello Dear All,
Here my challenge: I have a cube which is able to pickup (press and hold left mouse holding object in front of camera) and simulate physics activated, wanna that cube hover in the air via **interptomovement **component until pickup but wont work cos simulate Physics active !! Any idea please?

trim matrix
#

@supple dome I want to do it in blueprint

#

is there a way? seems like that operation is for editor only

#

I want to save my player avatar in runtime

visual shell
#

@limpid saffron You can activate the physics only when you pick it up?

limpid saffron
#

@visual shell you are right man i was about the solve like this way

#

thank you

visual shell
#

You could also linetrace down and when the trace is smaller than a certain value add force upwards, that way you can keep the physics on

trim matrix
#

What am trying to do here when ever the character stops

#

Start the Fire Particle

#

is there any way to do that whithout checking with Tick event?

jade gull
#

just wondering, is it viable to make a game out of only Widgets? (including PC, GM etc ofc)

#

@trim matrix i think since you're trying to check velocity which changes constantly, you would need to check on tick

trim matrix
#

@jade gull would that be heavy?

jade gull
#

im not sure sorry, also new at this

#

so it would only call it once if your velocity is under 1

#

then if its above 1 it opens it again

trim matrix
#

Thanks Kei that helped alot

jade gull
#

np

#

now...im having an issue where none of the nodes are deletable....

#

is that new to 4.24.2?

#

at first i thought it was just the default "Beginplay, Beginoverlap, EventTick" but every node i bring in is undeletable

#

rip nvm, compiled and i could delete them >.<

cyan lion
#

hah unreal โค๏ธ

jade gull
#

^

tame coyote
#

hey, guys. i'm having what i believe to be a reference error.
so, i have an actor (ship) that spawns components (doors, lights, etc) via sockets, with either a data table or a ship config struct to contain all their information.
one of the things it's supposed to spawn is a control console (actor) for the ship. when that console is spawned, the ship is supposed to pass object references for everything else spawned, so they can be manipulated.
everything worked great when i set it up last night, but when i loaded in today, it crashed. i've narrowed it down to this block of nodes. if i delete the "cast to fullship", i can load the ship no problem. i can hook it back up, after the editor launches, and there's no issue. i think i messed up. is there a safer way to cast to an object this way?

#

thank you in advance

astral fiber
#

Hi guys,
If I use the AttachToComponent node, a static mesh gets attached to my hand. But I dont know the rotation difference between the hand and the static mesh. Does anyone know how I can get that rotation?

surreal peak
#

Easiest is to make sure the attach parent is oriented correctly and then you can set the rotation rule to snap

#

@tame coyote that looks correct. It should also not crash even if that is a null ref.

#

Make sure you use version control in case a bp corrupts

zealous badge
#

Has anyone else ever had the issue of the components tab not appearing in 4.22? It's on a new actor and the fixes I saw on the forums (focusing on the component in the variables list) didn't work

surreal peak
#

BP only project?

#

@zealous badge

astral fiber
#

@zealous badge Use Window -> Components

surreal peak
#

Ah yeah might just be a missing window

zealous badge
#

That fixed it ๐Ÿ‘

astral fiber
#

But you normally should not be able to close that window, it is forced by UE to be opemn

zealous badge
#

This is the first time I've used a BP only project

tame coyote
#

@surreal peak thanks. back to the drawing board, then. have to find the issue

zealous badge
#

And it was already closed when I cloned the project

astral fiber
#

@surreal peak I tried getting the rotation offset that way, but this does not work.
I dont really understand your point, can you please explain it a little more?

jade gull
#

the Rotation Rule Enum on the Attach node

astral fiber
#

SO I should use snap to target?

trim matrix
#

I have an auto landscape material (LAM411) BUT ITS BROKEN I mean the BP

#

I need help connecting it

#

The functions are broken

#

Not much broken but ya some...

astral fiber
#

@trim matrix "it is broken", now we really have much information about your problem.

trim matrix
#

Ya

tame coyote
#

got some screenshots of what you mean?

trim matrix
astral fiber
#

Can you please make a real screnshot, so we can see something. Not with your mobile phone

trim matrix
#

Ya

placid slate
#

then paste in Discord

tropic tide
astral fiber
tropic tide
#

I set game instance, but I later moved it to a different folder, maybe that's the issue

astral fiber
#

"In Project Settings under Project - Maps and Modes you need to set it to use your custom Game Instance."
Just try to reset it to your instance and tell us if this helped

tropic tide
#

hmm, i changed literally nothing and it works again, wtf ue4

#

Because I had custom instance set

astral fiber
#

What exactly did you change

tropic tide
#

hmm, nothing

astral fiber
#

Well if you connect your custom instance and move it to a different folder, UE does not know the location of your instance

tropic tide
#

I checked in project settings, correct instance was selected, so I tried again and it worked

#

yeah, i reselected the same thing in project settings

jade gull
#

i found moving stuff updates all references of it so dont see why it wouldnt know

waxen sorrel
#

If you use Set Timer By Function Name and you call it at Begin and then call it another time in other point, it duplicates the timer or restart it ?

trim matrix
#

Hey

#

I a
back

#

Actually my sister snatched my phone

bleak sable
#

Hi, I have a little question. When I use the crouch and uncrouch nodes the camera moves roughly, is there a way for me to use that system but not have the camera move so I can implement my own system?

trim matrix
#

Where are the screenshots saved by pressing windows+shift+s

fleet sandal
#

Itโ€™s copied to your clipboard

trim matrix
#

No I want it on my phone

#

Because I have dischord on my phone

fleet sandal
#

Email it to yourself then

cobalt ferry
jade gull
#

is it viable to make a game out of just widgets?

bleak sable
#

It depends, what are you trying to do?

jade gull
#

just picross

fleet sandal
#

Yes

bleak sable
#

You should be fine but some things will have to be in something that is not a widget.

fleet sandal
#

Youโ€™ll still need a empty level to load everything but thatโ€™s about it

jade gull
#

yea i have my GM, PC & empty level

#

and a pawn for the camera cause wasnt sure how to make it ortho in PC lol

astral fiber
#

@trim matrix Install Discord to your PC and make a screenshot over "Snipping Tool"

jade gull
#

cant you use Web Discord?

cobalt ferry
#

there are so many off topic ways lol

astral fiber
#

I now use "Snap to Target" in the AttachToComponent node. And the grabbing hand is snapped to the static mesh pivot origen. Is it possible to let it snap to the socket location?

jade gull
#

i believe it should if the socket name is correct

astral fiber
#

@jade gull I thought so too, but it does not seem so. I tried it with all sockets

jade gull
#

never used that K2 node but wouldnt that get only the root and not the whole actor/object?

astral fiber
#

I tried it with the static mesh itself, even there it does not work. The "Does Socket Exist" tells me that it does exist

vernal crag
#

Guys I've spent hours going through forum threads and youtube videos looking for an answer to this, but they all give me an answer that is a more standard result which I'm not looking for. So hoping someone can point me in the right direction.
I have already set up my attacks to work like theirs with multiple line traces along the blade. But how does mordhau get it's swords to react when clashing with each other (not pass through, but actually "bounce" off) as seen at 2:25 in linked video?
Is it as simple as cancelling the attack animation when an overlap event is triggered and started a new reactive animation? Or is it some kind of physics simulation? The reason I'm confused is because I can't imagine they have endless react animations depending on which angle you attack, as you can seemingly attack and react from any angle.
Every tutorial I find seems to handle attacks/blocking in the same way where they trigger "sword clash" noise when the enemy is blocking, but the attack animation carries on and passes through the enemy, which I don't want.
https://www.youtube.com/watch?v=p-B4AwgArwA

Buy Mordhau Steam key from the webshop (developers get more money): https://mordhau.com/shop/
Buy Mordhau on Steam: https://store.steampowered.com/app/629760/MORDHAU/

Get Mordhau Merch: https://mordhau.com/shop
Mordhau is an upcoming medieval first-person fighting game with a...

โ–ถ Play video
jade gull
#

not quite sure then, unless the origin of what your trying to attach is in the wrong place, it should work to my knowledge but im not the most knowledgeable sorry.

#

@vernal crag would it be IK? iirc you wouldnt need animations you can just tell the arm where to point for example

astral fiber
#

@vernal crag I am not really sure, but it seems to me like they only played the animation backwards after the "block" is recognized

jade gull
#

^ that also makes sense

vernal crag
#

@astral fiber do you think it's just as simple as on overlap play animation in reverse then? I'll give it a go

#

thanks for the quick input guys, appreciate it

astral fiber
#

@vernal crag I have never done anything with animations, but I think they just stopped it. Get the current time of the executing animation and played it reverse starting from that time

vernal crag
#

@astral fiber sounds like as good as anything to try first. Thanks mate. @jade gull Thanks also for suggestion bro. Also it thought it may be an IK thing, but not knowing enough about IK yet it seemed like a potentially complicated solution

jade gull
#

i've played a little with IK when trying to get foot placement right on slopes and its a bit like telling the end of the limb where to be and the rest of the limb follows within its contraints

vernal crag
#

sounds like it could also be a solution then, will have to dig deeper into IK and try too

jade gull
#

but i do agree, is a bit more complex ๐Ÿ˜›

vernal crag
#

nothing worth having comes easy bro

#

besides. IK was on my list to learn further down the line for things like feet anywayt

#

anyway*

jade gull
#

was a matter of line trace in Character BP sending variables to anim BP to change IK values on tick

astral fiber
#

@vernal crag I dont know, maybe you can tweak that solution a bit if you make the reverse play after the block not as quick as the first one, so maybe only make it 80% as quick, or even make a random factor between (70-90%) to add some diversity.
If you really wanna go fancy, you could calculate the elasticity of the bounce based on the collision angle, and make that animation play time based on that value

vernal crag
#

ooooh those are fancy suggestions indeed, love it for polish mate thanks. WIll focus on getting it working then try and implement those ideas

trail berry
#

hi everone

#

I have some issues with anim notify

#

someone can help me pls?

jade gull
#

what issues?

trail berry
#

the event of notify are reach 2-3 times and have only one notify in montage

#

if I use a simple printstring on notifyu...this run one 1 print on screen

jade gull
#

how do you know its calling repeatedly then? ๐Ÿ˜ฎ

trail berry
#

if a put a breakpoint...the reach reach this part several times

jade gull
#

does it ever go back to that anim afterwards?

astral fiber
#

Never done anything with that, but could it be, that you have multiple actors, who call this?

jade gull
#

^

trail berry
#

i test on singlep player

#

if run with dedicated server...it's works great

#

but in single player this executes 2-3 times....don't know way

#

PS: this is a notify that make trace to damage enemies

jade gull
#

not sure sorry, all i've done with animnotify was 3 idle anims that switched at end

trail berry
#

I can record a little video of the problem if someone can help me

jade gull
#

might help someone see whats happening

astral fiber
#

Is that correct, or do I have to swap Sword with Hand?
If I do so the location is messed up

jade gull
#

oh is the socket on the weapon?

astral fiber
#

yes

jade gull
#

that explains it, when you attach it puts the root of the target at the parents socket location

#

so should be a socket on hand that you attach weapon to

#

dunno if thats the only way to do it tho

astral fiber
#

But what if I want the hand to snap to a specific location of the sword? I have two hand locations there, and I want one hand at socket1 and one hand at socket2

jade gull
#

that i believe would either be a prebaked anim or using IK for specific hand placement

#

when adding the socket you can preview the weapon in that socket in the skeleton window iirc

#

and modify its rotation/location so its placed correctly etc

astral fiber
#

Well I have a solution without sockets, so the user can grab where he wants. but than I need tho get the rotation difference of the hand and the sword

jade gull
#

thats a bit over me unfortunately

trail berry
#

maybe my problem are related with multispheretracforobjects

#

anyone know how to make a trace only for skeleton mesh???

jade gull
#

branch with hit result = "Chosen skeletal mesh" as its bool?

trail berry
#

alright doing this but reach some many times

#

if use non-multi, this collide with capsule...not the mesh skeleton

white oar
#

Anyone familiar with VR? I completely broke the VR controls blueprint system from my project. How do I get it back to the state it was initially when I first launched the VR default project but keeping my custom map and objects in the scene?

jade gull
#

Add New, Add Feature or Content Pack, Virtual Reality?

#

should give you the original as a new folder, but make sure to rename the ones you already have just in case

#

if they still have the same names

white oar
#

Ok thank you :)!!

jade gull
#

np

#

anyone know if theres a Zoomable panel for widgets? or would i have to make my own functions to just resize things?

trim matrix
#

Does anyone has LAM411

#

There is problem in the blueprint

astral fiber
#

They for sure have a support email or something

sand aspen
#

I've posted something in #animation that's really borderline programming, if anyone cares to take a look.

thorn fiber
#

Question, Find Look At Rotation will always have X Axis Look at the Target yes?

sand aspen
#

Why? Something like that,maybe it get the forward vector.

trim matrix
#

Does anyone got this lam

#

๐Ÿ˜ฉ

thorn fiber
#

@sand aspen I'm wanting to have not my forward X axis look at target, but my Z axis point at target .

sand aspen
#

I don't have the engine installed, I thought you just feed it 2 vectors anyway.

thorn fiber
#

yes.

trim matrix
sand aspen
#

oh on location, dunno really, need to look at the source code.

trim matrix
#

The two green boxes are to be connected to a function but I don't know which one of these

#

Can you guys help me with it?

sand aspen
#

Looks like you got a lot of gaps there.

trim matrix
#

Ya

thorn fiber
#

@trim matrix What is your question?

trim matrix
#

The picture which I posted above

#

It has two green boxes

#

Earlier when I opend it there where 2 unspecified functions

#

The Lam pack has these functions

sand aspen
#

That isn't even close to being a working material.

hollow cape
#

the two green boxes are parameters, values that you are inputting into various inputs. We have no way of knowing where those values belong

trim matrix
#

Okey so what should I do?

thorn fiber
#

lol

sand aspen
#

Use another materil

trim matrix
#

Can you check out the Lam

#

May I post the link

#

It's only 400 mb

#

Please

thorn fiber
#

I don't understand what is is you want.

#

So what if we look at it?

hollow cape
#

he's got the landscape auto material, and he broke the material/material broke.

trim matrix
#

You guys are genius at ue4

#

You can solve it

hollow cape
#

@trim matrix just put it on a new project, so you can see what it was SUPPOSED to look like (ie where things are pinned), and figure it out

thorn fiber
#

@trim matrix First off this isn't the right channel for material help, post your question in #visual-fx

hollow cape
#

or contact the creator and ask them

trim matrix
#

Ok

#

Can I vedio call?

hollow cape
#

@trim matrix Do you actually own the Landscape Auto Material asset pack?

trim matrix
#

Ya

#

Why ask?

hollow cape
#

Then create a blank project, add it, and look at the material to see what it's supposed to look like

#

don't try to get us to figure out how a MP asset is supposed to work. You HAVE the tools to fix it

trim matrix
#

I did the same

#

But it doesn't work

#

The real problem is that I don't know ue4 and visual scripts

#

I thought to ask for help but ...

#

You guys aren't interested

hollow cape
#

We are more than willing to help out with bugs, however we can't fix a MP asset that was put together a certain way

trim matrix
#

Who can help

hollow cape
#

the creator of the asset pack

trim matrix
#

He isn't replying

#

I have sent 4 emails to veagames

thorn fiber
#

So I'm looking at FindLookAtRotation code, they just do MakeRotFromX(Target - Start) am I correct in thinking that in Blueprints if I MakeRotFromZ(Target - Start) that would give me the Roll float (x) that has the Z Axis Look at the right direction?

hollow cape
#

@trim matrix fair enough, try asking around #visual-fx and see if anybody else has the material that's broken and can send you a screenshot of how it's supposed to be hooked up

trim matrix
#

Ty

#

For every help

hollow cape
#

@thorn fiber is this for a skel mesh (ie head look at)?

thorn fiber
#

No, just a static mesh. I have this SM moving around a sphere, but I need it's Z axis to point away from the sphere at all times. I thought I had it, but depending on where it starts to move it messes up, I have the normal pointing away from Sphere to SM and I just need it's roll to move the Z axis of the SM in the same direction as the normal that goes from sphere to SM.

#

I'm pretty sure I have all the info I need to pull this off, but so far all my various attempts none has been perfect.

hollow cape
#

so basically you want your SM to face along a given normal?

thorn fiber
#

I want my SM Z Axis to face a given normal

hollow cape
thorn fiber
#

Hmm, maybe? Hard to tell exactly with that example.

#

In that case your X is facing a certain direction

#

I actually have my X facing the direction I want at all times

#

I also need the Z facing away from the Sphere or (Cylinder) as in your example

hollow cape
thorn fiber
#

Ok so you do have it on the Z

hollow cape
#

the axis shouldn't really matter

thorn fiber
#

Well I guess what complicates things more is I'm having X face one direction and Z face another

#

So I have Pitch and yaw Perfectly facing the First Target but the Roll to face away from sphere at all times I haven't pulled off yet

#

Also you should do a sphere, as I think it makes things more interesting...

#

The RotationFromXVector works for my First Target but sadly it never spits out R.Roll

#

well it does but it is always zero

#

The Roll there is what I'm attempting to solve to have Z axis always point away from Sphere

#

I wonder if it just isn't possible "sets Roll to zero because the roll can't be determined from a vector."

hollow cape
#

you may need to compare up vectors or something between the two components...dunno, having a hard time visualizing what you're trying to do

azure vortex
#

Hey! Is there a way I can use Timelines in Blueprint Components?
Or is there any other way to solve this? I need to set a float value over time in a Blueprint Component -> like e.g. scaling down an actor

odd ember
#

timer

thorn fiber
#

I think I may understand what is going on

#

I'm getting the rightish role but depending on what part of the sphere I spawn at I need to inverse the roll or not. At least that is my current guess, going to check that out. @hollow cape

pallid rampart
#

how heavy is a delay node? i remember reading about it a long while ago, to try best to avoiding it.

thorn fiber
odd ember
#

@pallid rampart worry about functionality first, readability second, performance last

hollow cape
#

@thorn fiber I see, looking good. I think comparing up vectors (and the rotation from) will give you what you need based on what I'm seeing

#

sorry, compare up vector of the plane to the normal

pallid rampart
#

@odd ember true just for some reason i like to put have performance and functionality xD 2 birds with 1 stone type of deal

odd ember
#

it's going to make your work a lot slower

pallid rampart
#

indeed it does

#

xD

hollow cape
#

bear functionality/performance in mind but just make it work, then refactor later

#

make it work, refactor, break it, loop

odd ember
#

it's make it work, make it neat, make it fast in that order

pallid rampart
#

i have to remind myself sometimes when im looking into design choice to control myself on how the performance is going to hit and i get stuck in my head build all times of way to go about it xD

#

types*

thorn fiber
#

IDK if you watch some Epic tutorials, they say always check performance the entire time.

#

Because if you get too deep without checking you'll wonder what is causing the drain.

odd ember
#

the phrase is a programmer's creed

thorn fiber
#

Make features A, B, C and D and then oh crap 20FPS, ok lets check A, B, C and oh there it is.

odd ember
#

checking performance constantly is a detriment to focusing on actual functionality

#

if you're in a team, your functionality is a cog in a much greater machine, and so if others have to fix your cog they have to understand how you made it and for what reason

thorn fiber
#

IDK just check stat Unit every now and then...

pallid rampart
#

the way @odd ember said is good those steps are good and i also follow 95% of the time when making an tool

odd ember
#

when you need to hit performance targets MUCH MUCH LATER ON, you optimize

torn crow
#

the error log pop is this: Accessed None trying to read property CallFunc_Array_Get_Item'?

#

someone else in the comments had the same issue, and the OP of the vid said that were getting that message because the "Get Components By Tag" isn't finding components with the tag "outline"

#

i definitely have the tag set up on my asset, and here is a capture of what my set up looks like where the error is popping up

hollow cape
#

put an isvalid in between the get and the set render custom depth

neat stream
#

Hello Small question here, how would you match 2 arrays ? I can't do to parallel For each loops .. so I'm having a hard time doing it ...

hollow cape
#

that will get rid of the error. HOWEVER it won't solve the null reference issue

sudden lynx
#

What has worked well for you all as a way to design attack waves for a top down shooter?

#

@neat stream do you mean finding an element from one array in another array, or confirming whether both arrays have all the same elements or something else?

neat stream
#

@sudden lynx I have Two arrays of people, I need to match people together "wedding" ... so I need to loop through the first and the second and say that these two are married together ...

#

clear enough :)?

sudden lynx
#

Okay that sounds simple enough. Just shuffle the first array to randomize who gets married, loop through the second array, and for every loop assign the person from the first array to the one at the same array index of the second array until one array or the other runs out of people. Those who are left will remain single.

#

In fact to make it thorough, shuffle both arrays first. Make sure to use the result of the shuffle. I dont remember if the shuffle changes the array in place or if it merely returns a shuffled version of the array but leaves the original as it was.

odd ember
#

or you could use a map

#

or a struct

neat stream
#

thanks I kind of dit it that way... the same blueprint got a different result

#

the copy of my array was giving my an error that I couldnt change a value... and now I can...

crystal mural
#

Hi, everyone! Looking for some advice again. I've got a list of "upgrades" to three elements. 50 levels each. They all come with a cost and effect (simple multipliers) that I've laid out in an excel sheet. There are also only three buttons to do these upgrades (Think Hill Climb Racing on mobile). Is there a good way of doing this or should I just have three VERY large "Switch on Int" things?

odd ember
#

I don't know the reference, but if you can provide me one I can help you out

#

and you're probably not looking for a switch on int

crystal mural
odd ember
#

cool so walk me through this

#

what do you click on

crystal mural
#

One of those four orange buttons upgrade your different parts. In my case I only have three.

#

I mean each of those four buttons.

#

For my specific case you're upgrading how often a bullet can bounce, how much your magazine can hold, and how quickly your gun fires.

odd ember
#

okay, isn't that just increment the level then do a data table lookup to find out what the value the level corresponds to?

#

or did you not mean multipliers in a math sense

crystal mural
#

Ah yes that sounds right! SO I just google how to make a data table lookup and I should come right then.

#

Yeah they're not all linear so the numbers go up sort of exponentially, but not exactly.

odd ember
#

ah as long as they're numbers that solution will work

crystal mural
#

OK thanks, that's the thing I'll google then!

#

Cool, I'm finding things already! Thanks for the help! Sometimes you just don't know what to search for.

odd ember
#

@crystal mural once you've figured out how to use data tables you can use a for loop with value of 1 to 50 to fill something like an <int, value> map for lookups

crystal mural
#

Thanks, I'll keep that in mind.

marble lantern
#

Hey has anyone attempted to do a button mashing system and if so, how did you approach it. I kinda wanna do it where in order to open a door, you need to mash the b or spacebar key

astral fiber
#

@marble lantern Yes, this is pretty easy

#

There are multiple options how to do this

marble lantern
#

@astral fiber oh really thats a relief

astral fiber
#

What exactly do you want to achieve, and do you want this on multiple doors?

marble lantern
#

i do want to use this mechanic on multiple things like open doors and trying to force a switch on

astral fiber
#

So, with a button do you mean a button on your keyboard, or a virtual button in the game?

marble lantern
#

on keyboard

#

@astral fiber what do you think?

astral fiber
#

Make the door to an actor with an open and close function

#

Than you need a place where you handle the keypress, and the keypress simple calls the functions

marble lantern
#

By function u mean like a timeline

jade gull
#

timelines cant be put in functions iirc

odd ember
#

timelines are components, so no, they can't be put into functions

#

you can call functions on them from functions though

marble lantern
#

??

jade gull
#

a function is just a collection of nodes you can use over and over

#

or select nodes and right click collapse to function

marble lantern
#

oooh those

#

my bad

#

would that just be it or is there more to it???

jade gull
#

i arrived late, what are you attempting to accomplish?

marble lantern
#

programming button mashing to open doors @jade gull

#

or do something

jade gull
#

so just aim at door and mash a button?

#

@marble lantern

marble lantern
#

ye

jade gull
#

do you have anything so far?

trim matrix
#

Hey, I was wondering if someone could help me with a problem? So currectly I havw an object spawning a projectile with a timer to spawn it constantly, but I want it to where it spawns the projectile constantly for a few seconds but after a few sevonds it turns off, then after another delay it turns back on and starts spawning the projectile again, and this stops once you leave the box trigger attached to the object. I've been trying to set it up, even used a flip flop node to turn off timer and turn it back on but that was unsuccessful. Anyone know how to set this up?

fathom portal
#

@trim matrix So the concept is like a turret, that will burst fire for a bit, then idle, then burst fire?

trim matrix
#

Yups

#

Basically fire constantly for a few seconds, turn off for a few seconds, then turn back on for a few seconds, and repeat

#

Here is how it is currently set up, you can ignore the part attacked to the B pin of the flip flop node if you want, that was my attempt at turning it off and on again, hahaha

left bay
#

@trim matrix you get it figured out?

tired wolf
#

Is this the right place for a parkour system?

trim matrix
#

Not yet, no

tired wolf
#

Ok

trim matrix
#

Oh I was talking to Bronze, not you @tired wolf, sorry should've made that clear, hahaha

tired wolf
#

Oh whoops ๐Ÿ˜‚

trim matrix
#

I guess it depends on what you want help with, a parkour system could probably fall under both Blueprint and Physics, but I believe a parkour system in general would fall under this chat, yes

tired wolf
#

Oh ok

#

I will be back when I get deeper into my game

shell estuary
#

Anyone have a minute or two to help me troubleshoot this problem I am having? I can screen share. I basically am using the ball game template and implemented a camera that you can move while holding right click. I want the camera direction to influence where the front direction of my ball is instead of being based on world direction.

quick grotto
#

@shell estuary Get forward vector of the camera then set that as your balls direction

tribal axle
#

how do you toggle a line trace, like one click turns it on and one click turns it off.

trim matrix
#

Flip flop id assume

tribal axle
#

but you need an event tick for it to work.

#

lemme send a screenshot

#

how do I add an input to that

trim matrix
#

Whatre u using this for?

jade gull
#

put a branch before it and set the branch boolean from the click flip flop

#

click, on branch true, runs line trace, click again, off branch false no line trace

tribal axle
#

so, place if after the event tick. how does the input get set in?

jade gull
#

from your click event

#

gonna reuse another blueprint so ignore variable names

tribal axle
#

Ah, thanks!

jade gull
#

np

tribal axle
#

Wait, what set is it? I'm really new so I'm about that

jade gull
#

you know about variables?

tribal axle
#

oh, im dumb sorry

jade gull
#

npnp

tribal axle
#

How do I make the trace not visible?

trim matrix
#

Set in trace channel

#

Should be set to none for no visibility

tribal axle
#

ok

old bobcat
#

i'm somehow doing something wrong. i'm trying to get my hud to display a variable from the gamestate as text on the screen but it is accessing none trying to read the variable through the reference of the game state

#

the variable in the gamestate is exposed on spawn and instance editable

stuck hedge
#

@old bobcat did you set your instance in your project settings? Open your project settings, go to maps and mode and then scroll down to see if it's set. it's probably not set.

old bobcat
#

the variable is in game state not game instance

amber marsh
#

Simple math question because I am dumb. How do I define 0.0 to 1.0 between 400 and 2400?

jade gull
#

@amber marsh ever used a timeline?

amber marsh
#

I have but I would prefer to just math this

jade gull
#

Lerp Node

#

Alpha is the 0-1

#

Min is the value when alpha is 0, max is the value when alpha is 1

#

comes in multiple types, you'll want the float version

amber marsh
#

hmm ok

jade gull
#

sry A is min B is max in my previous example

dawn glacier
amber marsh
#

seems backwords. I need to get the alpha

#

not input it

dawn glacier
#

then this normalize function is what you need

jade gull
#

seems so

amber marsh
#

oohh ok thanks!

#

Yep works like a charm thanks

dawn glacier
#

np

dapper kiln
#

Can you scale bones on your character using blueprint? I was wanting to play around and make my characters have giant heads and stuff like the good old N64 days on Goldeneye

jade gull
#

yes

dapper kiln
#

Is it easy? A node to get the bone and then set the scale?

stuck hedge
#

there is a node where you can scale bones by name.

jade gull
#

in anim bp use that node, put between your state machine and result (if you have default setup)

stuck hedge
#

Just use a poseable mesh instead of skeletal mesh and you can use that node

jade gull
#

can poseable mesh use anim blueprint? doesnt seem to have that section in Details panel

stuck hedge
#

it should.

#

let me check, I used that on a VR project to hide the head of a model until I could get a model without a head to use.

dapper kiln
#

Ok so that answers my question of where to do it lol. I was in the wrong place. I thought I could morph him in the construction script. Makes sense that it's in the anim bp though

jade gull
#

the bone scale by name would be your character bp

#

if you use poseable mesh

dapper kiln
#

can you even play as a poseable mesh?

jade gull
#

you can play as a cube if you want lol

dapper kiln
#

I was wanting to make it where you can scale your character and make him look crazy lol

#

Giant head, short legs, fat arms, etc

jade gull
#

only thing im concerned about with poseable is that it doesnt have this part like regular skeletal mesh does

stuck hedge
#

I'm just waiting for that project to open, it's been awhile since I had it open. I'll see if the code I had there is still there. But I did use it as a poseable mesh. I had the anim BP driving the legs while the hands were done with IK connected to the motion controllers.

jade gull
#

sounds cool

stuck hedge
#

I remember it working, but I know at some point I redid the character. So it may or may not still have that stuff in there. It's taking forever to open

#

Probably wants to compile 440303 shaders

jade gull
#

rip

dapper kiln
#

Oh lord hahahahaha

jade gull
#

better than what i get

#

Compiling -430 Shaders

dapper kiln
#

I was just curious. I've been working on serious stuff for the past week and wanted to mess around and have some fun lol

jade gull
#

yea always at least one way to do almost anything in ue lol

stuck hedge
jade gull
#

weird flipped mirror xD

haughty ember
#

Anyone knows how to set the editor initial camera position ?

jade gull
#

as in when you open a brand new project for the first time?

haughty ember
#

nope, when opening an existing project

jade gull
#

i thought it just resumed where it was? ๐Ÿ˜ฎ

stuck hedge
#

It generally does.

haughty ember
#

it doesn't for me, not really sure why.

#

I moved somewhere, closed it normally, reopened, and it puts the camera in a different weird position

grave nebula
#

what's best way to remove 'pop' effect when we stream a level? and how we make a loading screen for keep looping until our level streaming is finished?

haughty ember
#

@grave nebula

  1. Show loading screen
  2. start loading level (async)
  3. When loading level is done, unhide loading screen
    ?
jade gull
#

start streaming before you can see it? and idk the second part sry

dapper kiln
#

Thanks guys. I got some goofy stuff working in the anim bp hahahaha I'm having fun already. ๐Ÿ™‚

jade gull
#

thats good ^^

stuck hedge
#

Ah sorry, got the project open. I was using hide bone by name.

jade gull
#

๐Ÿ˜›

stuck hedge
#

took forever to open and it still wants to compile 16k shaders.

jade gull
#

rip

#

at least its not negative shaders like mine xD

stuck hedge
#

I think I played around with bone scale using a poseable mesh. I remember having a tiny little head for a little while.

jade gull
#

is Event Pre Construct in widgets like using construction script in normal bp?

stuck hedge
#

pre construct can be used in the editor

jade gull
#

xD nice

dapper kiln
#

What'd you say to me boy!!!!!!

#

Hahahahaha

split wasp
#

he swole

grave nebula
#

@haughty ember i mean the sub level, so i have semi-open world level, and there's some 'level block' that i need to stream

haughty ember
#

@grave nebula How is that different?

grave nebula
#

i dont know yet

silk wagon
#

Question:
Currently, have a 3D Widget blueprint with the parent class of an actor. I'm trying to get a reference to the Widget that's being displayed in world space. I can't seem to figure out how to transfer variable values to the Widget UMG, As the widget component used in the actor apparently doesn't inherit from a widget class?
How could I transfer the variables set in the actor class to update on the UMG hud class?

cyan lion
#

maybe something like that?

silk wagon
#

That seems to work! Get user widget component.. Need to remember that one, cheers! :)

wild moth
#

Hello,
performance wise, for a set of let's say 100 actors, if I want an action (occasional action, ie 0-10 times in 5ish minutes) to apply to all of them, and the action must be called from an external actor, like the controller, would it be better to use a delegate or a GetAllActors?

surreal peak
#

Hm do you need to re-get the actors every time?

wild moth
#

Not necessarily, but they are dynamic, they can get added/destroyed

surreal peak
#

GetAllActors uses a hash to find the classes. So if you aren't getting them of class "Actor" then that should be okayish. However it is always more desired to have a manager that the actors register with on spawn.

#

E.g. a component with an array on a central class such as the gamestate. Actors can add themselves to it on spawn and remove on destroy

wild moth
#

I have that for all actors which can be placed, not specifically the ones I'm trying to apply this action on

#

At that point though, a delegate might be easier, how are they in performance?

surreal peak
#

Can't answer that. Never actively compared this case. You'd need to test that.

wild moth
#

I see. Alright, I will give it a go.

#

Thanks Cedric

#

(MP Compendium is ๐Ÿ‘ btw thanks for that too haha)

surreal peak
#

:P Glad it helps

pastel rivet
#

is it not possible to change cables width runtime?

#

cable actors

pastel rivet
#

i found a way around for now ๐Ÿ˜ฎ

short coral
#

Hello there , can anyone help me out with something ? How are instanced static meshes read? Are they all grouped up under one instance or do they have one grouped up instance per different static mesh with their own indexes?

surreal peak
#

Define "read".

#

InstanceStaticMeshes are usually ONE StaticMesh with the same Material where only the Transform is different.

#

The Hierarical version allows LODs in addition

short coral
#

So by this are all the instanced static meshes in the foliage tool one and the same?

surreal peak
#

They are grouped into one drawcall per mesh/material afaik

short coral
#

Oh ok , so each separate mesh has its own instances and its own drawcalls correct?

surreal peak
#

Yeah

short coral
#

So all 5 of those when painting with the foliage tool would have their own instances if i'm correct

#

If that is the case , if i fire a trace from my player and it hits one of those tree and i was trying to grab that instance , it would go through only those instances of that mesh till it finds that instance right?

surreal peak
#

Yeah I don't know where the actual foliage instances are stroed

#

But if you compare this to a normal actor with an InstancedStaticMesh component

#

Then your trace would give you: The Actor, the Component and a HitIndex, which referes to the index of the static mesh in the instance array of the component.

#

@short coral

short coral
#

Ok , i have implemented a farming system in my project , i have a LOT of instances in my map around 800k for example say , when i try to farm and use remove instance the frames drop , i tried making less instances but with different static meshes but my game would still lag regardless of the instance count, is there a better approach to handling farming?

wild moth
#

Hello, is there any way to set a SwitchParam in blueprints?

trim matrix
#

Maybe try context sensitive off

#

Or (forgive me if im wrong) maybe ur referring to a switch on int?

wild moth
#

I was refering to the Material expression SwitchParam

#

I don't think it can be changed like scalar or vector params

trim matrix
#

If u mean to switch a material in blueprint ud use set material

#

Other than that i dont think u can

surreal peak
#

@short coral Yeah, less instances. You can't just put 800k in. Adjusting the instance array by removing one will regenerate the other instances and this will lag, yes. Use less instances. Your player will never see all 800k at once.

haughty ember
#

@surreal peak I might be wrong, but using an hierarchical instances mesh might also help no?

short coral
#

@surreal peak do you know of a better approach to handling this ? I was thinking of maybe creating meshes during runtime instead but that might be heavy too.

@haughty ember aren't they similar to instanced static meshes?

glacial eagle
#

@wild moth Switches are static, you can't set them from BP

#

Or change them at runtime

thorny cedar
#

i made a mistake
when loading a level my whole game freezes until my level is loaded how can i avoid it ?

#

can load it in the background and then load it when its preloaded?

glacial eagle
#

You can't avoid it. If you're hard-travelling to the level that's a blocking call.

#

The only time you can asynchronously load levels is if it's seamlessly travelling, or with streaming levels.

wild moth
#

Thanks TheJamsh

thorny cedar
#

@glacial eagle ok then my attempt is correct since i was building a level loading system with streaming

#

ok now i built several levels with own skyspheres and so on

#

@glacial eagle can i check if a level is completely loaded?

prime berry
#

is there an easy way to transfer all the meshes from my blueprint to my level?
I want to build lighting on a bunch of meshes I created with the construction script, since I can't build it when they're in the blueprint ๐Ÿ˜ฆ

pastel rivet
#

I have some issues with the game instance in a packgaged version.
So im currently passing information to the game instance, to pass for next level, that has blueprints which needs information early because of construction script

#

But when the game is packaged, the information isnt retrieved the same way. The value is 0 as it seems from the game instance,,

#

It is as its getting the information to quick in a package, but slower in editor

plush ridge
#

These are 3 spawn points -- if I spawn a character in the center one, he spawns halfway through the floor. Spawning to the sides works fine. If I move the center point to the side, it also works fine, just not in the middle where it is now. Any idea why?

#

There are no weird collisions in this area

limpid lotus
#

Honestly I think it might be collision, for that stuff I would sometimes place a player start at the point I want to check(cause it will let me know if it's using a colliding location or not) and past that I would think to check the collision on the mesh itself(maybe there's a floating polygon or something that has collision sort of thing). But that's all I got for suggestions..

plush ridge
#

hmm

#

thanks Oldsiren

#

It doesn't seem to be a collision issue though, because if I grab the character and move him up a few cm he pops up into the level at the same location

#

I'm able to walk around over, through and around that spot as well with no issues

#

Will experiment some more

elder crypt
#

Been trying to implement some character movement that requires me to get the relative direction of the analog stick, but I cannot figure it out for the life of me. This is what I have currently, but I assume I need to offset by camera somehow because it doesn't get the correct rotation.

cyan lion
keen goblet
#

@elder crypt If the issue is you want to move relative to the cameraโ€™s direction, I think you can just unrotate your result (what you feed into SetActorRotation) by the rotation of your camera

amber marsh
#

Is it just Listen?

#

?listen

trim matrix
#

Hey guys. Does anyone any idea how I would go about creating a "Flight Assist" mode that essentially stops a vehicle from drifting too much once the user lets go of the "roll" button? Elite: Dangerous's default flight settings are a good example of this. The ship is driven by a collection of Physics Thruster Components, so it is entirely physics-based.

A clip demonstrating the current flight model: https://www.youtube.com/watch?v=4xDNbcO6WeU&feature=youtu.be

pastel rivet
#

as it seems the game instance is having issues passing variables before other actions are performed in a packaged version

trim matrix
#

@pastel rivet Man, I was scratching my head with instance and savegameobejct last night

#

Once in a bluemoon, I would spawn somewhere else in my map because a variable is not set

#

then i figured it out, the level already execute begin play before Instance fully load data from savegameobject

#

So i added event On finish load, then I hook it up on event game play in the map

#

is that what ur problem is?

pastel rivet
#

@trim matrix all im trying to do, is basically make an blueprints event construct run a little later

#

Beacuse i need the variables from game instance to be able to be loaded

#

but at this point the physics cable loads before everything else and then it doesnt allow the game instance (I moved from savegame loading these settings) to transfer the values or whatever

#

It works nicely in play mode inside editor, but when packaged, it doesnt register early enough, so the construct script gets 0 back instead of the value set by the user

hushed sable
#

Hey I need some help I'm a COMPLETE noob

#

So this guy used a keyboard shortcut to get this up but idk what he did

#

It was the thing with the red material in it

#

What's the keyboard shortcut?

fair estuary
hushed sable
#

Thx dude

fair estuary
#

It might contain the keyboard shortcut but locating in the editor and searching for that one will help you find the keyboard shortcut. I don't know it off the top of my head

hushed sable
#

Didn't mention it in the video

#

But I get it now thx

fair estuary
#

np

nocturne urchin
#

Anyone have a suggestion for why a macro in a library would not show up in the add node menu on any blueprint? I am following the online docs, but i just cant seem to get my macro into any other blueprint

distant sedge
#

@nocturne urchin Is your macro library for a different class?

nocturne urchin
#

for the library i just set the parent class to actor, the documentation doesnt specify if the library parent class has to match the blueprint where you want to use the macro, is that a restriction?

keen goblet
#

@nocturne urchin Whatever the parent class of your macro library is, I believe the library's macros can only be used in objects of that class or its children. So a macro library w/ parent Actor should be useable in all actors.

nocturne urchin
#

yeah makes sense, ive managed to get a macro to show up by just having it output a bool and then using it in the default lvl blueprint, the blueprint library is a child of actor, is the lvl blueprint an actor or child of actor?

#

i can see in the engine content macro library that the parent class is object, and id guess that many more classes are children of object than actor (if not all of them), so i might try that

#

....ah, parent class of object means i cannot use a lot of the nodes that i would be able to in actor ๐Ÿ˜ฆ macro libraries seem less useful that i originally thought

static charm
#

huh

#

just make different libraries for whatever stuff you need

#

all marco's are is just visually collapsed and reusable blueprint code

fathom portal
#

@static charm on the subject of libraries, how would I go about making a library of functions I can access across all blueprints?

static charm
#

should be the same relative procedure as macro library

#

i dont really use functions though

#

so i cant help specifically

hardy merlin
#

Hello. I have a character that I want to sit in a chair. The animation is already set up, but the capsule component is pushing the character out of the chair's space. Is there a way to disable collision between the character and the chair?

#

I still need both to collide with other characters and the player.

trim matrix
#

How do I get the current rotation velocity of an object in local space? I'm trying to measure how much a vehicle is rolling, but I don't want pitch, yaw, or direction to affect that number.

#

Grug have u tried going into custom collision and setting player to ignore

hardy merlin
#

@trim matrix No. What is that?

#

And by player, do you mean a particular actor or is there a layer called Player?

trim matrix
#

In the collision for an obj theres the block all block all dynamic etc

#

In that drop down select custom

late cave
#

I can't do this for some reason? the error only happens on the third node, but all three set nodes are a child class of the same parent class

#

if I add a fourth set, the error on the third gets MOVED to that fourth instead, so I'm guessing I'm breaking something else here too...

hardy merlin
#

@trim matrix Can that handle collisions between individual objects?

trim matrix
#

Yes

#

You can set it to ignore pawns collision

#

And then just make to set everything else to block

hardy merlin
#

I want it to ignore precisely one pawn.

#

And collide with all others.

#

It sounds like that's not an option

odd ember
#

make a new collision preset

hardy merlin
#

the one pawn needs to be dynamic, as in The Chair I Am Sitting In.

#

Though maybe there's another way to accomplish this.

dusky moat
#

hey guys how do i push ai around, since i cant add force to capsule componet (it sais it`s not simulating physics and i cant turn it on obv) but appying impulse on it works but in suck unrealistic way, so how do i PUSH other pawn actor?

crystal mural
#

Hi everyone. Quick question before I go to bed. I'm running into a "fire rate" problem. How quickly can I spawn things/projectiles? Is there some sort of limit?

dusky moat
#

ticktime i gues?

hardy merlin
#

@crystal mural You can spawn an unlimited number of things per frame. The issue is that frames are different lengths and dont always translate properly to seconds.

#

There's a value you can get on tick called DeltaTime. Multiply that by any parameter to convert from "Per Frame" to "Per Second"

crystal mural
#

@hardy merlin Ah OK. Right now I've made a "while loop with delay" and I've basically got a float 1.0 divided by my float "fire rate" to determine how quickly to shoot.

odd ember
#

@hardy merlin collision presets are just names, they don't mean anything other than being identifiers

#

make your own

astral fiber
#

Hi guys, I have a foliage (grass) and I want to check if they are inside a collision box, how can I do that? does a foliage have a collision

hardy merlin
#

@crystal mural Is this something that shoots more than 10 times per second?

crystal mural
#

Very much so.

odd ember
#

@astral fiber you can add collision but consider that if you have a lot of foliage it's going to be VERY expensive

crystal mural
#

I was going for around 400 times per second as my max.

hardy merlin
#

Is this like a spaceship?

crystal mural
#

But pushing it down to 200 I see little blips. Then down to 100 and it still felt very much the same. Which tipped me off that I was doing it wrong.