OpenClonk Bugtracker - OpenClonk
View Issue Details
0001249OpenClonkObjectspublic2015-01-21 17:062017-12-27 13:05
ReporterMaikel 
Assigned ToMarky 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Versiongit masterFixed in Versiongit master 
Summary0001249: Fire particles of incinerated powder keg are at clonk's center when being carried.
DescriptionSee title.
TagsNo tags attached.
related to 0001300acknowledged  Feature Request - CreateParticleAtBone for attached meshes 
Attached Files

Notes
(0003443)
Zapper   
2015-01-22 09:46   
They should probably use CreateParticleAtBone when they are carried?
Maybe the Clonk could even provide a CreateParticleAtHand wrapper as this sounds like it would be a common issue (and I doubt people will be motivated to look up the correct bone each time..)
(0003445)
Sven2   
2015-01-22 13:22   
A more generic solution would be to change the contents behaviour in the engine. Currently, contents objects are always forced to the same positions as their containers. It would be useful if you could specify an offset to be used. This would solve not only CreateParticle, but also any other things done by the object such as CreateObject, etc.

However, the problem I currently see is that the position will depend on bone animations which aren't synchronized. If there were a sync-save way to get an (approximate) position for attached objects, then that could be used.
(0004182)
Clonkonaut   
2015-11-30 12:41   
Probably won't change in 7.0

Needs some evil engine features.
(0004192)
Pyrit   
2015-11-30 13:08   
A solution would be, that if an object's mesh is attached to something, and the object uses CreateParticleAtBone(), these particles are also created on the attached mesh. That would be animation synchrone.

In other words: when an object uses CreateParticleAtBone(), the attached copy of the object's mesh will also create these particles.
(0005976)
Marky   
2017-12-27 10:28   
Seems to be very related to this one:
http://bugs.openclonk.org/view.php?id=1300

I'll see if it makes sense to create a workaround for this one, though.
(0005977)
occ   
2017-12-27 12:52   
Hi! There's been a check-in that references this bug. For more information you can visit the repository browser at this address:
https://git.openclonk.org/openclonk.git/commitdiff/993d8c4565bf1c74b60236226dc2c7fffe500dec

Changeset 993d8c4 by Mark <markh4b@hotmail.com>
0001249 Fix barrel fuse effect
Improved the barrel fuse effect in two ways:
1) The fuse is not at the center of the poweder keg anymore, making it more prominent
2) When carried by a clonk the effect is at the keg instead of the clonk center

(0005978)
Marky   
2017-12-27 13:05   
Well, this was not a problem of CreateParticleAtBone() after all, because that function was not even used in the implementation before the fix.

Issue History
2015-01-21 17:06MaikelNew Issue
2015-01-22 09:46ZapperNote Added: 0003443
2015-01-22 13:22Sven2Note Added: 0003445
2015-10-16 00:33Sven2Target Version6.1 => 7.0
2015-11-30 12:41ClonkonautNote Added: 0004182
2015-11-30 12:41ClonkonautStatusnew => confirmed
2015-11-30 12:41ClonkonautTarget Version7.0 => 8.0
2015-11-30 13:08PyritNote Added: 0004192
2017-12-23 11:21LuchsTarget Version8.0 => git master
2017-12-27 10:27MarkyRelationship addedrelated to 0001300
2017-12-27 10:28MarkyNote Added: 0005976
2017-12-27 10:28MarkyAssigned To => Marky
2017-12-27 10:28MarkyStatusconfirmed => assigned
2017-12-27 12:52occNote Added: 0005977
2017-12-27 13:05MarkyStatusassigned => resolved
2017-12-27 13:05MarkyResolutionopen => fixed
2017-12-27 13:05MarkyFixed in Version => git master
2017-12-27 13:05MarkyNote Added: 0005978