Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial?
#15
omgosh so sorry, 

https://youtu.be/eEW56osPuaM


Looking into that scene now

Ok  I've given up on my scene and just basically cloned your barrel scene since its pretty much what I needed.

I cant tell what you have different than mine, but this is working a lot better now. The Barrel doesnt self implode and the ball can collide.

However, now
its possible for the ball to get stuck inside the barrel then when firing it again, it bugs out and goes below the ground.

Thoughts?

https://youtu.be/UoyVYGCBIno


I am also having trouble figuring out how to do an "OnCollisionEnter" call. From what I've read I understand its the Solvers Job to handle collisions.
"solvers will generate collision constraints"

However the only items I see on the solver related to Collisons are :

collisionConstraintParameters (field)
collisionMaterials (field)
OnCollision (event)
OnParticleCollision (event)
particleCollisionConstraintParameters (field)


I am not finding any info about these under "Solver" in API
https://i.imgur.com/OToZBlg.png


Best thing I can find is on the collisionConstraintParameter :
EvaluationOrder evaluationOrder
int iterations
float SORFactor
bool enabled

But theres really no info here on how to get any info out of it? like what object is being collider with?

I've Tried subscribing to this event
https://i.imgur.com/iSHPTxy.png

But as far as I can tell theres nothing of value in an OniContact for telling me which GameObject was hit ?

EDIT:
I found this under the scripting section:
http://obi.virtualmethodstudio.com/tutor...sions.html
Would be really nice if there was a link to this under the Collision section as its relevant and i totally missed it
Reply


Messages In This Thread
Tutorial? - by Havie - 13-09-2020, 10:24 PM
RE: Tutorial? - by josemendez - 14-09-2020, 08:06 AM
RE: Tutorial? - by Havie - 16-09-2020, 09:00 PM
RE: Tutorial? - by josemendez - 16-09-2020, 10:18 PM
RE: Tutorial? - by Havie - 17-09-2020, 08:10 PM
RE: Tutorial? - by josemendez - 18-09-2020, 07:01 AM
RE: Tutorial? - by Havie - 18-09-2020, 12:14 AM
RE: Tutorial? - by josemendez - 18-09-2020, 07:10 AM
RE: Tutorial? - by Havie - 18-09-2020, 09:12 PM
RE: Tutorial? - by josemendez - 18-09-2020, 09:44 PM
RE: Tutorial? - by Havie - 19-09-2020, 04:24 PM
RE: Tutorial? - by josemendez - 19-09-2020, 05:32 PM
RE: Tutorial? - by Havie - 19-09-2020, 10:41 PM
RE: Tutorial? - by josemendez - 20-09-2020, 12:57 AM
RE: Tutorial? - by Havie - 20-09-2020, 01:21 PM
RE: Tutorial? - by Havie - 20-09-2020, 04:18 PM
RE: Tutorial? - by josemendez - 20-09-2020, 07:20 PM
RE: Tutorial? - by Havie - 21-09-2020, 07:02 PM
RE: Tutorial? - by josemendez - 21-09-2020, 08:03 PM
RE: Tutorial? - by josemendez - 22-09-2020, 02:21 PM